replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - %pl guide
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 

%pl guide
Goto page Previous  1, 2
 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+
View previous topic :: View next topic  
Author Message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8263
Location: Salford, UK

PostPosted: Sat Sep 13, 2025 12:52 pm    Post subject: Reply with quote

Eddie

SIMPLE.DLL is still included in the installation in case it is needed for legacy code.

For new code and 3D graphics you could use OpenGL (via ClearWin+ %og say). Although there have been complaints about the learning curve for OpenGL, I suspect that SIMPLEPLOT would not be easier to use.

For 2D graphics you could use ClearWin+ %gr/%pl or %og.

There is also Bill Bardsley's SIMFIT library which can be accessed via Simdem.exe/x64_Simdem.exe and is described the help file under FTN95 then SIMFIT. This includes some 3D plotting.

The original (non_native) %pl does not use winop@.
Back to top
View user's profile Send private message AIM Address
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 2420
Location: Yateley, Hants, UK

PostPosted: Sat Sep 13, 2025 1:10 pm    Post subject: Reply with quote

Brilliant, Ken. I missed that - or forgot about it!

So what is SIMPLE.DLL?

Eddie
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8263
Location: Salford, UK

PostPosted: Sat Sep 13, 2025 1:49 pm    Post subject: Reply with quote

SIMPLE.DLL is the 32bit DLL for the SIMPLEPLOT library.
Back to top
View user's profile Send private message AIM Address
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 2420
Location: Yateley, Hants, UK

PostPosted: Sun Sep 14, 2025 11:12 am    Post subject: Reply with quote

Having peeked at the documentation Ken pointed me to, I think Paul's assertion that SimplePlot 3D is likely to be as difficult as OpenGL is very likely to be correct.

I think that I'll take the very broad hints and do something else!

Eddie
Back to top
View user's profile Send private message
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 2420
Location: Yateley, Hants, UK

PostPosted: Fri Sep 19, 2025 11:06 am    Post subject: Reply with quote

Ken,

That final example is a bit of a revelation. I suppose that with a different algorithm the second pass could be configured to produce coloured bands rather than a continuous spectrum.

It seems that red to blue through green is the simplest colour sequence. Some years ago I asked if anyone knew others. No response!

Eddie
Back to top
View user's profile Send private message
Kenneth_Smith



Joined: 18 May 2012
Posts: 845
Location: Lanarkshire, Scotland.

PostPosted: Fri Sep 19, 2025 5:08 pm    Post subject: Reply with quote

Eddie, it does not change the intention of the last example but the assignment for z should be:
Code:
z = spread(sin(x), 2, size(y)) * spread(cos(y), 1, size(x)) + &
      0.5d0 * spread(sin(2.0d0*x), 2, size(y)) * spread(cos(2.0d0*y), 1, size(x))


I should have used to nested do loops! However I�m trying to keep the number of lines in these examples small � hence the use of spread.

Bands are a good idea. Here is a very slightly modified version of the example which allows the plot to be drawn with different numbers of levels:

https://www.dropbox.com/scl/fi/h2svtrszccn1dpi8l3y7d/ex31_new.f95?rlkey=66mkzu6wctmqw1zspyj1fzvz0&st=v42sm89i&dl=0

There is a very good discussion of colour ramps to be found here:

https://paulbourke.net/miscellaneous/colourspace/
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+ All times are GMT + 1 Hour
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group