"Power" sign in text function (ver 3.2.2)

View: New views
2 Messages — Rating Filter:   Alert me  

"Power" sign in text function (ver 3.2.2)

by MartinDaD :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

Plotting 'r^2' text in a figure:
h=text(1,1,'r^2');
Then the instruction:
set(h,'fontsize',15);
doesn't change text size.

whereas: h=text(1,1,'r2'); set(h,'fontsize',15);
can do it.

Martin
_______________________________________________
Bug-octave mailing list
Bug-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/bug-octave

"Power" sign in text function (ver 3.2.2)

by John W. Eaton-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On  2-Nov-2009, Martin wrote:

| Hello,
|
| Plotting 'r^2' text in a figure:
| h=text(1,1,'r^2');
| Then the instruction:
| set(h,'fontsize',15);
| doesn't change text size.
|
| whereas: h=text(1,1,'r2'); set(h,'fontsize',15);
| can do it.

This seems to work properly for me with Octave 3.2.3 and gnuplot
4.2.6.  What versions of Octave and gnuplot are you using?

jwe
_______________________________________________
Bug-octave mailing list
Bug-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/bug-octave