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 682 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: first time user of %PL
Kenneth_Smith

Replies: 15
Views: 2015

PostForum: ClearWin+   Posted: Fri Nov 24, 2023 4:54 pm   Subject:
John,

If n_graphs is going to become a very large number, then you should look at the %pl option module data_mod
integer, parameter :: n = 10
real*8 :: x(n) = [(i, ...
  Topic: first time user of %PL
Kenneth_Smith

Replies: 15
Views: 2015

PostForum: ClearWin+   Posted: Fri Nov 24, 2023 1:24 pm   Subject:
And it then becomes very easy to make the selection of which graphs to plot interactive:
module data_mod
integer, parameter :: n = 100
real*8, parameter :: pi = 4.d0*atan(1.d0& ...
  Topic: first time user of %PL
Kenneth_Smith

Replies: 15
Views: 2015

PostForum: ClearWin+   Posted: Fri Nov 24, 2023 12:23 pm   Subject:
This demonstrates the basic idea.
use clrwin
implicit none
integer, parameter :: n = 100
real*8, parameter :: pi = 4.d0*atan(1.d0)
real*8, parameter :: twoPi = 2 ...
  Topic: first time user of %PL
Kenneth_Smith

Replies: 15
Views: 2015

PostForum: ClearWin+   Posted: Fri Nov 24, 2023 11:53 am   Subject:
For N_GRAPHS=4, use the [independent] option, now npts is an array npts=[n1,n2,n3,n4] where n# is the number of points per curve.

You must now supply a pair of arrays (x(n1) and y(n1) etc.) for e ...
  Topic: first time user of %PL
Kenneth_Smith

Replies: 15
Views: 2015

PostForum: ClearWin+   Posted: Sun Nov 19, 2023 11:38 am   Subject:
John,

If a single title above the plot is sufficient, the quickest solution would be something like:

use clrwin
implicit none
character(len=120) :: title
integer, parameter &# ...
  Topic: Can TRANSPOSE be permitted in an initialisation expression?
Kenneth_Smith

Replies: 6
Views: 12509

PostForum: Suggestions   Posted: Mon Nov 06, 2023 12:02 pm   Subject:
Paul, thanks for this fix.
  Topic: Invalid FP operation, crash
Kenneth_Smith

Replies: 7
Views: 1051

PostForum: General   Posted: Mon Oct 23, 2023 11:00 am   Subject:
The first thing I see here is that FMT is missing in the read statement.
  Topic: Spaces as zeroes
Kenneth_Smith

Replies: 5
Views: 876

PostForum: General   Posted: Fri Oct 20, 2023 7:06 pm   Subject:
The B, BN, and BZ specifiers control interpretation of embedded and trailing blanks for numeric input, but you should not have to use these for read(11,*).
  Topic: Couple minor Clearwin problems
Kenneth_Smith

Replies: 10
Views: 1547

PostForum: ClearWin+   Posted: Tue Oct 17, 2023 2:57 pm   Subject:
Dan, I misunderstood what you were saying. No I don't use design mode as much as perhaps I should. Changes to the appearance of the graphic are made via call to change_plot_dbl etc.

PS I added a ...
  Topic: Couple minor Clearwin problems
Kenneth_Smith

Replies: 10
Views: 1547

PostForum: ClearWin+   Posted: Tue Oct 17, 2023 11:08 am   Subject:
so that even Ken is not using it

No %pl is Ken's no 1 graphing tool! By far the best method I have access to.
  Topic: %pl[native,n_graphs=1]
Kenneth_Smith

Replies: 2
Views: 629

PostForum: ClearWin+   Posted: Tue Oct 17, 2023 11:05 am   Subject:
No problem Paul, I will leave this one with you.

If the user always specifies a value for n_graphs the issue does not arise, which is probably the reason I did not find this earlier as that is ge ...
  Topic: %pl[native,n_graphs=1]
Kenneth_Smith

Replies: 2
Views: 629

PostForum: ClearWin+   Posted: Mon Oct 16, 2023 5:47 pm   Subject: %pl[native,n_graphs=1]
In the following code y = x**2 is plotted using 6 different sets of %pl options (using 64 bit compiler with checkmate - so by default we are using the native %pl).

In the second case, a blank graph ...
  Topic: Do you also have an error?
Kenneth_Smith

Replies: 11
Views: 1248

PostForum: ClearWin+   Posted: Wed Oct 11, 2023 9:52 am   Subject:
Replace:
i = winio@('%pv%pl[x_array, scale=linear, N_GRAPHS=2',&
ix, iy, itime, xMomTot, y1MomTot, y2MomTot )

with:
i = winio@('%pv%pl[x_array, scale=lin ...
  Topic: %pl is wonderful
Kenneth_Smith

Replies: 11
Views: 3797

PostForum: ClearWin+   Posted: Sat Sep 23, 2023 12:56 pm   Subject:
Dan, I shall send you a PM on Monday with a download link.
  Topic: %pl is wonderful
Kenneth_Smith

Replies: 11
Views: 3797

PostForum: ClearWin+   Posted: Thu Sep 21, 2023 5:53 pm   Subject:
Dan, thanks for the surface plot challenge. Kept me out of mischief this afternoon Very Happy

https://www.youtube.com/watch?v=ktayj7KOxGM

I will duck out of the 3 D challenge for the time being!
 
Page 1 of 46 Goto page 1, 2, 3 ... 44, 45, 46  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group