View previous topic :: View next topic |
Author |
Message |
mecej4
Joined: 31 Oct 2006 Posts: 1899
|
Posted: Thu Mar 23, 2017 2:29 pm Post subject: |
|
|
Many Windows ports of Unix packages have reduced functionality and reduced support.
If you do not already use Cmake, GCC and Cygwin, I suggest that you not try (unless you are consumed by the urge to try). Even the compressed tar ball of the Plplot sources is about 16 Mbytes!
I can provide an experimental, untested DLL of Plplot 5.3.1 that you can use with FTN95 to build and run some of the Plplot Fortran examples . Some examples will not work without modification because, unlike with Gfortran, I/O to an unopened file in FTN95 will cause an error instead of automatically opening files named FORTnn for unit #nn.
Last edited by mecej4 on Tue Mar 28, 2017 11:32 pm; edited 1 time in total |
|
Back to top |
|
 |
mecej4
Joined: 31 Oct 2006 Posts: 1899
|
Posted: Tue Mar 28, 2017 11:29 pm Post subject: |
|
|
Download the zipped DLL from https://www.dropbox.com/s/cu2zpjffai99o7j/plpltSal.zip?dl=0 .
Unzip; to build the PLPLOT examples, e.g., x01f.f, do
Code: |
ftn95 x01f.f
slink x01f.obj plplot.dll
|
There were about 20 Fortran examples in the Plplot source distribution. Each of then, when run, gives you a selection of three output devices: the Windows GDI, a PS file and a PSC file. For the PS/PSC files you will need a suitable viewer such as GSView.
You can the set of examples for the current version of Plplot at http://plplot.sourceforge.net/examples.php . I have not tested them with the DLL.
The sources that I used are from a variety of places, accumulated over many years, with quite a few undocumented patches that I applied to get the thing to compile. I do not wish to distribute the sources or support the DLL itself. If you like the DLL and it works, you can use it as long as you want. If some routine does not work, you will need to consider building from the current SourceForge distribution of PLPLOT.
Last edited by mecej4 on Sun Apr 02, 2017 12:12 am; edited 1 time in total |
|
Back to top |
|
 |
mecej4
Joined: 31 Oct 2006 Posts: 1899
|
Posted: Sat Apr 01, 2017 1:54 pm Post subject: |
|
|
After posting the DLL, I tried running some of the examples included in the current distribution. Not a single one worked, because in the new versions they have added a dependency on the ISO_FORTRAN_ENV module, which we do not (yet) have in FTN95.
I have collected those of the examples from the old distribution that work (one or two needed modification to avoid writing to unit 0 without a prior OPEN). The 17 examples, in a Zip, are at
https://www.dropbox.com/s/7mf6bd0iyim9eix/plpEx.zip?dl=0 .
Note that the DLL is only for 32-bit FTN95. It is probably premature to consider building a 64-bit DLL for 64-bit FTN95. |
|
Back to top |
|
 |
DanRRight
Joined: 10 Mar 2008 Posts: 2923 Location: South Pole, Antarctica
|
Posted: Sun Apr 02, 2017 1:26 am Post subject: |
|
|
Mecej4, OK, i compiled and tried all 4 options these examples offer, my computer shows no graphs from any of them. How to see these plots? |
|
Back to top |
|
 |
mecej4
Joined: 31 Oct 2006 Posts: 1899
|
Posted: Sun Apr 02, 2017 1:39 am Post subject: |
|
|
You will see graphics on-screen only if you choose option-1, "win3". The next two produce B/W and color Postscript files, for which you will need to obtain a viewer such as Ghostview, or a PS-PDF converter. Option-4 (Null device), I believe, is intended for use in debugging Plplot programs during development.
If you chose option-1 and did not see graphics, you should have seen some error message. Do you have the two PLPLOT font files, plstnd5.fnt and plxtnd5.fnt? If not, download the plpEx.zip file again, I have added the font files to the example Fortran files. |
|
Back to top |
|
 |
DanRRight
Joined: 10 Mar 2008 Posts: 2923 Location: South Pole, Antarctica
|
Posted: Sun Apr 02, 2017 4:47 am Post subject: |
|
|
Thanks, now works ok. No modern fonts? |
|
Back to top |
|
 |
mecej4
Joined: 31 Oct 2006 Posts: 1899
|
Posted: Sun Apr 02, 2017 9:49 am Post subject: |
|
|
Those two are the only pre-built font files in the current distribution, too. There are some C files in a subdirectory called 'fonts', so I suppose that one could construct other font files, but I don't know. You can see if they tell you how to do that in their Wiki. |
|
Back to top |
|
 |
mecej4
Joined: 31 Oct 2006 Posts: 1899
|
Posted: Wed Apr 05, 2017 5:40 pm Post subject: |
|
|
A couple of points to place things in perspective.
When Unicode was being developed, a 9600 baud printer was standard. If the printer did not have Unicode in its store, the computer had to download the Unicode font(s) to the printer.
To download a 22 MB font file at 9600 baud would take over six hours. Most people might not expect to wait that long to print a Unicode page containing a couple of kilobytes, and think instead that the printer or the computer had crashed. |
|
Back to top |
|
 |
DanRRight
Joined: 10 Mar 2008 Posts: 2923 Location: South Pole, Antarctica
|
Posted: Wed Apr 05, 2017 11:46 pm Post subject: |
|
|
The guys who support it should rebuild all examples which now look obsolete. There are very good Example 8 (click right mouse there) and 11, but the whole "wrap" is damaging any wishes for acceptance. I am surprised things look like frozen in ancient ages. For the authors to add good modern look is a couple days work, for us it could be close to impossible, so rarely which users want to experiment |
|
Back to top |
|
 |
DanRRight
Joined: 10 Mar 2008 Posts: 2923 Location: South Pole, Antarctica
|
Posted: Sat Apr 08, 2017 2:03 am Post subject: |
|
|
Good example of what I mean is to open any high profile scientific or financial journal and compare. Nature, Science, Physical Review...As usual, the beauty is skin deep (color and positions of elements) but it defines way too much in our lives. It is literally forbidden to ignore that. And it often costs nothing to involve professionals into improvement of visual design. Many universities teach students on real products and professors will gladly help not taking a penny |
|
Back to top |
|
 |
DanRRight
Joined: 10 Mar 2008 Posts: 2923 Location: South Pole, Antarctica
|
Posted: Sun Apr 23, 2017 4:02 am Post subject: |
|
|
Don't believe me? Here is what have been done for our international conference design by the fellow professors with their students for example. Just look how great are all of these works which surrounded all participants in the conference hall, posters halls, coffee places and launch rooms. Huge convention centers with the largest gatherings can not do any better. Cost for us? Zero. This is what all patriots of their universities and local businesses do. Look at these students' poster competition and tell me that you are not impressed.
http://icxrl2014.colostate.edu/DisplayPosters.pdf
Time to do a refresh here too.
Last edited by DanRRight on Wed Apr 26, 2017 5:03 am; edited 2 times in total |
|
Back to top |
|
 |
|