help-octave
[Top][All Lists]
Advanced

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

gset label variables


From: Haddox, Randal P (Contractor-NTA)
Subject: gset label variables
Date: Wed, 12 Mar 2003 13:52:53 -0600

I want to plot an int label at each XY point, and I am using the following code w/o success:

 

prn_label = sprintf ('%d ', f1);

x_pos = sprintf ('%g ', f2);

y_pos = sprintf ('%g ', f3);

eval (['gset label 6 "',prn_label,'" at "',x_pos,"','",y_pos,'"']);

 

 

Output to the screen:

 

gnuplot> set label 6 "4 7 8 11 26 27 28 29 " at "-5.18 -23.55 23.2 54.13 -60.08 34.28 6.91 -60.25 ','-81.91 -9.64 -25.51 31.13 20.57 -45.2 28.49 3.81 "

                                                ^

         line 0: invalid _expression_

 

 

I'd appreciate any help.

 

 

Thanks,

Randy


reply via email to

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