forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 506 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: No Saturdays without devilry
Kenneth_Smith

Replies: 14
Views: 242

PostForum: ClearWin+   Posted: Sun Nov 28, 2021 3:29 pm   Subject:
Definitely some devilry here Dan.

Changing the value returned by the call back to 1 rather than 2 does not help.

Printing the values immediately before the calls to window_update@ returns the ex ...
  Topic: Limitation of number of plots in %PL
Kenneth_Smith

Replies: 25
Views: 5032

PostForum: ClearWin+   Posted: Wed Oct 20, 2021 2:02 pm   Subject:
Dan,

This demonstrates where I think the issue may be:

character(len=19) str1, str2
print*
print*, 'cyan is rgb(0,255,255) which is HEX #00FFFF'
print*
print*, 'yellow is ...
  Topic: Limitation of number of plots in %PL
Kenneth_Smith

Replies: 25
Views: 5032

PostForum: ClearWin+   Posted: Tue Oct 19, 2021 7:59 pm   Subject:
Dan wrote
the last color is red, not blue.

Can you show us how you converted the (r,g,b) triplet to hex?

Or try using this approach:

module dan_test_mod
use clrwin
implicit none
integer, ...
  Topic: Limitation of number of plots in %PL
Kenneth_Smith

Replies: 25
Views: 5032

PostForum: ClearWin+   Posted: Tue Oct 12, 2021 5:59 pm   Subject:
Dan,

For the problem you describe, I would check that each :

CALL winop@("%pl[colour=#110011]") etc

is in the correct order for graphs 1 to N.
  Topic: Limitation of number of plots in %PL
Kenneth_Smith

Replies: 25
Views: 5032

PostForum: ClearWin+   Posted: Wed Oct 06, 2021 7:54 pm   Subject:
Dan,

This works without calls to winop@ before the i=winio@ function call:

USE mswin
INTEGER,PARAMETER:: Nx=11, Nt=12
DOUBLE PRECISION Xmp(Nx,Nt),Ymp(Nx,N ...
  Topic: Limitation of number of plots in %PL
Kenneth_Smith

Replies: 25
Views: 5032

PostForum: ClearWin+   Posted: Wed Oct 06, 2021 12:59 pm   Subject:
Dan,

Here is a modification to your second example that now works as expected.

Ken


USE mswin
INTEGER,PARAMETER:: Nx=11, Nt=12
DOUBLE PRECISION Xmp(Nx,Nt) ...
  Topic: Limitation of number of plots in %PL
Kenneth_Smith

Replies: 25
Views: 5032

PostForum: ClearWin+   Posted: Tue Oct 05, 2021 10:13 am   Subject:
Dan,

This should work, the thing to remember is that if n_graphs > 10 and more than one related call is made to winop@ then the value of n_graphs must be included in the first call to winop@.
  Topic: %pl[native] x/y label positions
Kenneth_Smith

Replies: 22
Views: 8724

PostForum: ClearWin+   Posted: Fri Aug 13, 2021 11:02 am   Subject:
Paul,

That's fine, I think I may be guilty of thinking about this a little too much.

Thanks

Ken
  Topic: %pl[native] x/y label positions
Kenneth_Smith

Replies: 22
Views: 8724

PostForum: ClearWin+   Posted: Fri Aug 13, 2021 8:46 am   Subject:
Dan,

I think the issue here is with older code pre 64 bit %pl[native], i.e. 32 bit applications which used the simpleplot.dll

The %pl[native] has adopted the same convention as the earlier sim ...
  Topic: %pl[native] x/y label positions
Kenneth_Smith

Replies: 22
Views: 8724

PostForum: ClearWin+   Posted: Thu Aug 12, 2021 3:30 pm   Subject:
Thank you Paul, I shall lookout for the next intermediate dlls.
Have you included the x_axis? It is also sometimes poorly positioned, as shown in the example code, but not to the same extent as th ...
  Topic: %pl[native] x/y label positions
Kenneth_Smith

Replies: 22
Views: 8724

PostForum: ClearWin+   Posted: Tue Aug 10, 2021 11:23 am   Subject: %pl[native] x/y label positions
While I understand the existing algorithm used to determine the position of the x- and y-axis labels, for general purpose x/y plotting purposes it can result in very poor positioning of the x- and y-a ...
  Topic: Difference between WIN32 and X64
Kenneth_Smith

Replies: 10
Views: 1683

PostForum: 64-bit   Posted: Thu Jul 22, 2021 5:06 pm   Subject:
Thanks, Paul, I look forward to using this new capability.
  Topic: Dimension of %PL
Kenneth_Smith

Replies: 31
Views: 5546

PostForum: ClearWin+   Posted: Tue Jun 22, 2021 7:25 pm   Subject:
Dan,

I have modified your last example slightly. Clicking on the redraw button will now produce the required result. Note I am using CALL simpleplot_redraw@()

module mod1
use clrwin
...
  Topic: %WB issues with %IB
Kenneth_Smith

Replies: 17
Views: 3493

PostForum: ClearWin+   Posted: Sun May 23, 2021 12:13 pm   Subject:
It's not much help, but I can confirm that I can replicate the problem as described by Steve..
  Topic: Difference between WIN32 and X64
Kenneth_Smith

Replies: 10
Views: 1683

PostForum: 64-bit   Posted: Sat May 22, 2021 9:51 am   Subject:
Thanks Paul.

Here is another, possibly related one for you to look at.

The new allocate on assignment feature runs into problems when the allocated array is within a derived type (for both win32 ...
 
Page 1 of 34 Goto page 1, 2, 3 ... 32, 33, 34  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group