help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

reading strings


From: Phil Reardon
Subject: reading strings
Date: Mon, 11 Jun 2001 09:44:29 -0600

>From within a script, I want to read in some labels from a file and place 
them on a graph.  Then I can modify the file but leave the script untouched 
from run to run.  However, I can't seem to do that.  Here is some code that 
fails:

label1 = fscanf(fp0,"%s","C");
gset label label1 at .8,.2

Can you help me find the correct syntax for what I want to do?  
Thanks for any help you can provide. PCR



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]