Thread View: comp.graphics.apps.gnuplot
1 messages
1 total messages
Started by u600256@rho.lanl
Mon, 26 Aug 1996 00:00
Re: Title Tex
Author: u600256@rho.lanl
Date: Mon, 26 Aug 1996 00:00
Date: Mon, 26 Aug 1996 00:00
56 lines
1612 bytes
1612 bytes
In message-Id: <9608260422.AA02225@cfm.brown.edu> "Andrew D. Jones Jr" <andrew@cfm.brown.edu> writes: > > Thank you for creating GNUplot for NeXTstep. It is an excellent and easy to > use application. > > In my FORTRAN program, I want to be able to write the values of the variables > used for each plot. What is the format for text in a data set? > > I have GNUplot 3.4 NeXTstep interface 1.2. Where can I find the latest > version of this program that runs on a NeXTstation Turbo running NeXTstep 3.3? > > Thanks again, > > Andrew > > > > C PLOT SOLUTIONS > > WRITE(num,*) 'TitleText: N=',NC(i),' T=',T,' K=',K(q), > WRITE(num,90) '"{U(x,y)}"' > WRITE(num,91) (x(j),U(j),j=0,NC(i)-1) > WRITE(num,90) '"{V(x,y)}"' > WRITE(num,91) (x(j),V(j),j=0,NC(i)-1) > > Unfortunately gnuplot does not have the ability to read text from a data file. The way around this is to have your Fortran generate a file containing gnuplot commands, which can then be loaded into gnuplot. For example, your Fortran might look like open(unit,file='gnuplot.input.file') write(11,90) "U(x,y)" 90 format('set xlabel "',a6,'"') write(11,91) "V(x,y)" 91 format('set xlabel "',a6,'"') close(11) and then, within gnuplot, ypu'd enter the command load 'gnuplot.input.file' and carry on. As to the latest version: beta-test versions of 3.6 are located at cmpc1.phys.soton.ac.uk in the /incoming subdirectory. I don't know if executables for NeXT systems are there, but that's the first place to look. Dick Crawford, aka rccrawford@lanl.gov
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads