help-octave
[Top][All Lists]
Advanced

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

Re: gset label variables


From: Przemek Klosowski
Subject: Re: gset label variables
Date: Mon, 24 Mar 2003 18:43:56 -0500 (EST)

This doesn't look like an octave bug to me.  For starters, the error
you see is a gnuplot error, not octave's--you can check it by running
the command in gnuplot directly:

        set label 6 "123" at "1,2"         doesn't work in gnuplot
        set label 6 "123" at 1,2           works in gnuplot

So, you can plot out single labels if you lose the double quotes around the 
coordinates.

However, you can't plot multiple labels by providing multiple coordinates: you 
have
to do it one by one.

   for i = 1:length(f1)
     eval(sprintf("gset label \"%d\" at %d,%d",f1(i),f2(i),f3(i)))
   endfor




-------------------------------------------------------------
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]