Paul, Thanks. For the %pl to work with 64 bit option of the compiler can 32 bit Clearwin+ still be used?
FTN95 64-bit beta test
No. You cannot mix 32-bit and 64-bit code. This is an OS restriction.
These Simpleplot devs for 20 years do not providing any feedback, let alone support or fixes. My feeling is that they will never move and Clearwin+ will be missing %pl.
How about OpenGL, does it work?
Dan, I think you should refrain from that language. The writers Of SimplePlot are retired I believe. Ian
I do not know which version of my post you have seen as i usually write/rewrite/edit many times. They might be retired or not it does not matter at all. Is it hard to provide, sell, or give as a free gift their code to Silverfrost or may be somehow help to port it or just explain what we can expect from them (yes or no)?
We asked them that here, they participated in the discussion but said nothing definite. By the way besides royalties to them for Simpleplot from Salford Fortran I purchased, i also bought their another app for Android, gave it good review and supported with that their school programmers they were supervising.
If the source code for %pl will not be provided we should move to different application instead of waiting. This small app is handy but has too many defects and has primitive obsolete look
Without %pl the consistency of Clearwin+ is broken and the legacy applications now will not work with 64bit version.
It is only small simple part of Simpleplot source actually needed - the regular standard X-Y graphics plotting utility. Most part of %pl i believe is Silverfrost's own programming for Clearwin+. Graphics plotting engine actually can be taken from other graphics packages. We might all together write one here. I for example have my own ones too. As if it is a big deal to plot the axis, tick, number and connect two points with the line. Big deal is to make all look professional. Simpleplot has very amateurish look and feel
You all know that I was waiting for this compiler to be 64bit for many years. And you know why. Many codes need all possible tricks to fit them into 32bit space. While i am waiting for final touches to be added (the debugger in 64bit mode, the Simpleplot to work) my codes sometimes remind me that they often live by themselves. That what i call devilry. Today i woke up, looked at the screen and what i got was totally shocking: wow, the results are totally corrupted, and when plotted what the devil's horns they generated instead of typical standard nice looking x-ray spectra? And how color appeared on supposedly black and white palette plot ? I suppose Silverfrost will soon complete the compiler which will help me to switch to 64bit and perform all so needed 'exorcism' from my too small arrays and hell know how working stack. Otherwise it might be that i will need to seek another help. Devious or medical 😃

Dan,
A three-horned Mr. Devil? Or are you now into doing root-canals on alligators? Yikes! 'Keep mouth fully open, please, while I pass this needle through!'
Please share the secret recipe that you use for including images inline in your post. Just yesterday, I needed to do this in another post:
https://forums.silverfrost.com/Forum/Topic/2908
Thanks.
Mecej4, Yea... I'm also kind of puzzled about third horn/tooth 😃
Posting is easy, it's just few clicks work and is totally intuitive. You basically do not need my instructions. But just in case since the first time is most difficult part of any easy job:
- go to Postimage dot org. I use it for years. You can post anonymously but being registered gives you control over your images which you can delete or reload/edit later on. This was the entire trick of posting images most people fail because anyone expects one obvious thing that this forum will accept and keep the image. Well, it will not hell know why, the disk space now cost nothing
- click on 'choose image' ('browse' on old website) button on their website. The popped up menu will allow you easily browse your computer for images. Click on desired image.
- Postimage will then upload it and give you many different options for the possible links used on different forums and websites. I take 'direct link' option to post here. Do highlight it and save it in your clipboard: Ctrl+C.
- Now go to your forum, this one or any other, and click on 'Img' button while you are writing your post in the forum. This will automatically place the HTML tag to include the image. You can also do that manually (I can not write these few letters since this will influence the current post misformatting it)
- Ctrl+V image link there
- Click on 'Img' button again to close the HTML image placing command (or again write the same with slash manually)
Thanks for the recipe, will try next time I want to include image.
For a slightly different view of Excel, see
https://oit.utk.edu/research/documentation/Documents/ExcelStatProbs.pdf
or Google for 'Friends don't let friends use Excel for' .
In the hands of many, Excel can be the easiest and fastest tool -- for making a mess.
The Simpleplot (i am talking about %pl only) actually was almost ~95% close to be ideal production quality simple plotting software when it was abandoned and worst of all left then Salford with no sources.
I wrote already with the examples what was left to do to make %pl to compete with Matlab, Mathematica, OriginLab and Excel
- make all real*8 otherwise it crashes with numbers larger then 1e25
- adjust a bit default fonts, their sizes and positions
- add for X and Y axis one more standard design - square (4 axis instead of 2, see pictures below)
- make it know that the initial data is changed and replot without reload
- Add Y_Max same way as Y_Min
- make other small fixes and additions like font size and line width which currently are external
Ideally Simpleplot could be made interactively adjustable by right clicking on the plot items and getting all settings in menu form (see pic below). There you can change axis parameters, fonts, line widths and their styles, colors and even the plotted data itself. The parameters then would be saved and next time this plot will automatically use these settings. Or share them among all other plots. All parameters in Settings menu have to be graphical, not textual.
See? What left to adjust is almost nothing, 95% of major work is already done. it is not acceptable anymore to plot the crappy way by hand on transparencies or using poor quality software like Simpleplot.
But i actually almost done all that myself with the help of you guys here, including you, John. Things are that Simpleplot uses character variable as its online settings. So instead of hard program it inside the source like this
i=winio@(%pl('title='Test Plot', color=red,n_graphs=2, Y_min=1%ff&', 600, 400, n, X, Y1, Y2)
i simply add changeable, flexible way of using settings
character*320 charVar
charVar = 'title='Test Plot', color=red,n_graphs=2, Y_min=1%ff&'
iXsize=600; iYsize=400
i=winio@(charVar, iXsize, iYsize, n, X, Y1, Y2)
i=winio@(%rs,charVar)
So i see the variable on the screen together with the plot, change there everything i need (the %rs works also like a microeditor!) and just click to force the simpleplot to replot the screen. Since #4 above does not work i need to close current plot and open it again. Font size, line width, header size are changed separately too. Each time charVar and other plot settings are saved into the Settings file. Done!
I even added the ability to plot many graphs simultaneously adding many fake Y1, Y2, Y3 etc arrays which are initially empty. Ideally it has to be a single two dimensional array dynamically changeable rank with usual Fortran90 way.
Here is one example how it looks. Blue highlighted part is the CharVar like above:

This is why i started to love the Salford's idea of plotting despite i hate its terrible implementation together with Simpleplot developers (why it probably was called Simpleplot in order not to be called a SuckersPlot or CrappoPlot).
Ultimately you have to be able to edit all visually right on screen like in OriginLab software. You click on axis, caption or tick marks and change its parameters in popup menu. To Silverfrost it is easy to add
So are you still advocating for Excel or want to convince Silverfrost to further develop potentially killing in simplicity, powerful in implementation and godlike looking even for Science and Nature journals software (name has to be changed to SilverPlot), John ?
It is better to show ones then to say 100 times. Here is what i meant that has to be added for %pl to be ideal. On top is its settings which are invoked when you click on anything on the plot. For experienced programmers like Silverfrost this is just a month or two of work

Mecej4,
I find the criticism of Excel statistics a bit (lot) of a beat-up ! If you are suffering from round-off errors in Excel standard deviation calculation, which uses 64 bit precision, perhaps the criticism should be directed at those using a poorly constructed data-set rather than the computing tool.
As for the regression criticism, I wonder what R-squared was. Probably 0.1.
Excel is a very good tool to get a rough idea of what the data looks like. I regularly use pivot tables to review data and identify potential relationships.
I remember in 70's, someone complained that a competitors Finite Element program was useless because for a particular calculation it (effectively) used (length3) / length, rather than use length2; when the real problem was that in their modelling, they used element lengths that were totally unsuitable. They also used 32-bit precision in their comparison.
This supports the claim that statisticians can lie with statistics.
John
That critical article is dated 2001. The criticism in it probably applies to Excel '97 or the next version (2000?). I have faint memories of reading a more recent article that reported (item by item) issues that were fixed in later versions of Excel.
Early NA texts used the running update of the mean and STD of a time-series as a good test case to show that mathematically equivalent formulae can give substantially different finite-precision results, and emphasized the need for accumulating sums in double precision even when the data was all single precision.
John, Things are that doing %pl improvement is really easy. I have done many of these things myself on my own plotting routines despite my zero initial experience and general reluctance to lose time on that
It is definitely not hard in example above the top Settings menu appears when you click on axis or its text. And the right settings menu - when you click on the lines plotted. In my own routines I can easily move axis left and right, up and down with mouse without any menu by simultaneously pushing CTRL key, chose palettes, output parts of image in text format, chose preselected designs etc. All in one click. The switch to stunning looking surface plot or 3D OpenGL plots is also just one click away in my case if the same data is 3D.
For Silverfrost this could be just an easy work with a lot of fun. It will bring so needed gloss and shine on the compiler. Throwing Simpleplot out of the table and substituting it with own graphics routine will take few month more but with current state of stubborness or something else hell knows what of Simpleplot developers we all have no choise
Of course if binding to Excel is easy to do - why not implement this too?
But my position is that we use coding in Fortran to get almost total control on what we do. This is why instead of using Excel etc i also made %pl - based easy visualizer of simple XY data. It does not look as cool as Excel because Simpleplot looks like a @#$%. If %pl would be perfected like in the example above (and it could be even better with gradient and picture backgrounds and some other beautifications like grid lines, 3D axis, color scales etc) no one would want to use Excel for quick look at the data or even more serious work.
And by the way some time in the past Excel was considered a threat to security due to its hacking vulnerabilities. Same was with the JavaScript. The Security department were recommending to switch them off or remove. Not recommended was clicking on Russian and Chinese sites. But currently no one cares about security and privacy anymore, everything is blatantly hacked, JavaScript is ON by default, Russian sites and Chinese internet commerce sites and cellphone apps are used even more then any others and no one cares.
Unfortunately i spend my time to do all that graphics stuff my own way from ground zero. Without graphics i often can not even find the errors.
Silverfrost would improve graphics capabilities professionally and do that 10x faster.
And also such design would be nice to see in the future plotting utility

Dan,
Just out of interest, have you tried Simdem?
Eddie
Eddie, No...looks ugly like simpleplot.
My idea is to make simple powerful and professionally looking %pl utility which is doing main basic things in one line and the graphs look suitable for any journal publications (like for example Matlab is producing) not the whole graphics package.
For anything else seems the only way so far is to use own made graphics packages.
I am sure with time such thing will be made - we have good experience with %pl and some experience making good looking graphics. We just need to combine these two. Even school students of the authors of Simpleplot made superb graphics utility for Android which costs a dollar or two. If they would devote some time to improve their buggy crappy %pl...
If the graphics package sources are freely available and they are still not abandoned by the authors then it is potentially possible to try to beautify the plotted graphs. If this works and the output meets the one single strict requirement to look as good as Matlab/Mathematica/Excel/Originlab then I do not see why not substitute limpy primitivus Simpleplot in â„…pl with this other package. Or add another independent Clearwing control for it.
Thanks for the comments. We are now at a point where we can consider our options regarding a 64 bit %pl. The issue has not been forgotten but other things have taken precedence. At the moment I am not in a position to be able provide a time scale