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 167 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: Native %pl
silicondale

Replies: 153
Views: 9823

PostForum: ClearWin+   Posted: Thu Oct 19, 2017 12:34 pm   Subject:
Good suggestion! As I said, the routine is decades old. I wrote it originally in the 1970s when graphics meant Calcomp pen plotters! 64-bit coding wasn't something we even considered then. Double prec ...
  Topic: Native %pl
silicondale

Replies: 153
Views: 9823

PostForum: ClearWin+   Posted: Tue Oct 17, 2017 10:46 pm   Subject:
Thanks for the suggestions, Ken!

I've only started playing with the new native %pl but I see you already have quite a few tricks of the trade!

-Steve
  Topic: Native %pl
silicondale

Replies: 153
Views: 9823

PostForum: ClearWin+   Posted: Tue Oct 17, 2017 5:55 pm   Subject: Auto scaling for neat lower and upper limits
btw - there has been some discussion on setting 'nice' limits. For what it's worth here's a very old subroutine (you can see from the fixed-format coding!) that I have used for decades to do exactly t ...
  Topic: Native %pl
silicondale

Replies: 153
Views: 9823

PostForum: ClearWin+   Posted: Mon Oct 16, 2017 1:36 pm   Subject:
Thanks, Ken - I missed that one! That is good news.

What I shall need to do now is work out how to tidy up the coding - and add a colour palette to the side of the plot. Adding a general feature s ...
  Topic: Native %pl
silicondale

Replies: 153
Views: 9823

PostForum: ClearWin+   Posted: Mon Oct 16, 2017 1:04 pm   Subject:
Here is a simple demo of surface display using %pl, that Dan wanted to achieve. Using 4 arrays for different data value ranges, with different colours, small filled square symbols. Could generalise th ...
  Topic: Native %pl
silicondale

Replies: 153
Views: 9823

PostForum: ClearWin+   Posted: Mon Oct 16, 2017 10:38 am   Subject:
Paul - many thanks. yes, I saw your example was winop@ so realised (after posting) that it was just a mistype.

HTML standard is #rrggbb -- see
write(pltext,"(a,3z2.2,a)&quo ...
  Topic: Native %pl
silicondale

Replies: 153
Views: 9823

PostForum: ClearWin+   Posted: Mon Oct 16, 2017 8:01 am   Subject:
Paul - many thanks for that. Certainly goes some of the way towards what we need, especially your 'dynamic colour' workaround. Ideally we should be able to attach a different colour to each individual ...
  Topic: Native %pl
silicondale

Replies: 153
Views: 9823

PostForum: ClearWin+   Posted: Sun Oct 15, 2017 11:08 pm   Subject:
Small change of subject. I have an idea how to plot full-colour area plots rather like Dan has asked for. The only thing that prevents this is that colours are defined by names. I need to be able to u ...
  Topic: New %pl and export to jpg, gif, etc
silicondale

Replies: 6
Views: 122

PostForum: ClearWin+   Posted: Sun Oct 15, 2017 8:22 am   Subject:
Hi John-S

I can see the problems in producing a completely general 'export image' functionality, as you've pointed out! However, a simple-minded approach would be to export everything which is curr ...
  Topic: New %pl and export to jpg, gif, etc
silicondale

Replies: 6
Views: 122

PostForum: ClearWin+   Posted: Sat Oct 14, 2017 7:17 pm   Subject:
Magic! Inserted the code into my program and it worked a treat. I had been hitting my head against a brick wall with the DIB_BLOCK calls giving access violations. Many thanks, John.

Ken - yes, I sa ...
  Topic: New %pl and export to jpg, gif, etc
silicondale

Replies: 6
Views: 122

PostForum: ClearWin+   Posted: Sat Oct 14, 2017 3:00 pm   Subject:
Thanks for the quick reply, John. The only reason for GIF as an option is user demand. I also prefer PNG. I'll try out that code, but as you say it's probably dependent on being able to get a handle f ...
  Topic: New %pl and export to jpg, gif, etc
silicondale

Replies: 6
Views: 122

PostForum: ClearWin+   Posted: Sat Oct 14, 2017 10:53 am   Subject: New %pl and export to jpg, gif, etc
I have been using %gr with recover_dib_block@ / put_dib_block@ to copy the graphics window to a jpeg file, and write_graphics_to_gif@ to write to a gif file.

I tried the same thing with %pl (both S ...
  Topic: 3D stereoscopic viewer wanted
silicondale

Replies: 0
Views: 118

PostForum: General   Posted: Sun Oct 08, 2017 1:16 pm   Subject: 3D stereoscopic viewer wanted
I have written 3D output for data and models to VTK and VRML (WRL) formats. Can view the VRML data in Cortona and the VTK in Paraview. While both claim to have stereoscopic 3D viewing options, both ar ...
  Topic: OpenMP function implementations
silicondale

Replies: 3
Views: 2588

PostForum: Support   Posted: Sat Jul 08, 2017 4:43 pm   Subject:
I understand that Silverfrost FTN95 doesn't provide parallelisation support, but it should be possible to emulate MPI message-passing surely? If not by shared areas of memory, then at least by shared ...
  Topic: IMPORT_BMP@ - equivalents for JPG, GIF, PNG ?
silicondale

Replies: 26
Views: 8188

PostForum: ClearWin+   Posted: Wed Jul 05, 2017 11:35 pm   Subject:
Hi John - it's in the cwplus.enh file in item 359 (FTN95 v7.10). Works like a dream, and the beauty is you don't have to change any other coding, just put the call to this before your GET_DIB_BLOCK@ e ...
 
Page 1 of 12 Goto page 1, 2, 3 ... 10, 11, 12  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group