 |
forums.silverfrost.com Welcome to the Silverfrost forums
|
View previous topic :: View next topic |
Author |
Message |
aebolzan
Joined: 06 Jul 2007 Posts: 229 Location: La Plata, Argentina
|
Posted: Tue Jun 10, 2014 10:02 pm Post subject: |
|
|
As far as I remember, Hershey fonts were available as a separate file that was located in the Simpleplot folder during the installation of the software (Simpleplot used to be delivered in two floppy 1.44 Mb disks......). It seems that both, the Hershey fonts and the Marker symbols are not included in the library, or at least not those that figured in the manuals. So, one has to discover the number associated with them.....but, here you find a simple program that shows you what kind of fonts you can use with Simpleplot...as far as I know....see that the CHSET numbers are negative!
CHSET(1) can also be used, but it is a software font that looks not very nice...but you can try it as well....
Hope this helps,
Agustin
Code: | program Simpleplot_plots
!requires simpleplot.dll
implicit none
real*4,dimension(70) ::xarr,yarr
integer*4 :: narr,ltype,xscale,yscale
integer*4 :: ctype,i,ans
character(8) :: xlabel="x",ylabel="y"
character(2) :: istr
real*4 :: minx,maxx,miny,maxy
narr=0
do i=1,70
xarr(i)=2*i
yarr(i)=i*i
narr=narr+1
end do
call group(4,3)
DO I=1,12
ans=-i
call knumb(i,istr)
call textmg(1.5)
call axsbtk('XC','I')
call axsbtk('YC','O')
call thckmg('L',2.0)
CALL AXLBJS('**', 'Centre')
minx=minval(xarr)
maxx=maxval(xarr)
miny=minval(yarr)
maxy=maxval(yarr)
xscale=1;yscale=1
CALL SCALES(minx,maxx,xscale,miny,maxy,yscale)
call axcrss('YC',minx)
call pen(2)
ltype=0
ctype=3
call chset(ans)
call cvtype(ctype)
CALL BRKNCV(real(xarr,1),real(yarr,1),narr,ltype)
call pen(4)
CALL AXES7(xlabel, ylabel)
call title7("t","c","Character set -"//istr//" ")
end do
call endplt
end program simpleplot_plots |
|
|
Back to top |
|
 |
aebolzan
Joined: 06 Jul 2007 Posts: 229 Location: La Plata, Argentina
|
Posted: Tue Jun 10, 2014 11:48 pm Post subject: |
|
|
http://www.silverfrost.com/23/ftn95/support/documentation.aspx
look there the file "Using SimplePlot with FTN95". You will find that for using the Hershey fonts you have to be able to "install" Simpleplot so that the Hershey.dat file is installed. That was in the old days.....now you get the library as it is and seemingly some features are lost.....but at least you can read in the documentation that the 12 fonts I showed you with my program are the fonts that are today available for Simpleplot under Windows....
Agustin |
|
Back to top |
|
 |
aebolzan
Joined: 06 Jul 2007 Posts: 229 Location: La Plata, Argentina
|
Posted: Wed Jun 11, 2014 8:27 pm Post subject: |
|
|
In fact, I have the Hershey.dat file from an old version of Simpleplot, but Simpleplot cannot read it.....seems that having the library is good but not enough: it needs to be "installed" through a setup in order to be fully functional....
Agustin |
|
Back to top |
|
 |
aebolzan
Joined: 06 Jul 2007 Posts: 229 Location: La Plata, Argentina
|
Posted: Thu Jun 12, 2014 11:14 pm Post subject: |
|
|
I could send the file to Paul if he likes, no problem at all...the file is from 1998, so not far from the last version of Simpleplot that I guess was from 2001....it's a .dat file, so no ASCII and consequently it is not possible to post it here......and as I told you, it does not work alone....
My old version of Simpleplot cannot be installed in my Windows because it is from the days where Win95/98 was reigning....in fact the setup.exe was in a diskette that was no more possible to read......
Agustin |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8210 Location: Salford, UK
|
Posted: Fri Jun 13, 2014 6:54 am Post subject: |
|
|
Augustin
There would be no problem about sending the file directly to John.
You can send it to Silverfrost as well if you wish but I don't know if we would want to add this to the FTN95 installer. |
|
Back to top |
|
 |
|
|
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
|