Automatic plot tick labels improperly scaled

Boronkay, Allen R. Allen.Boronkay at hospira.com
Tue Apr 1 12:00:48 CDT 2008


I'm using Octave 3.0.0 and having a problem with tick labels on plots
which can be shown with the following code:

 

a = [0:100];

b = 1e-9*a.^2;

Plot(a,b)

 

The y-axis labels all show "0.0" which is decidedly unhelpful. The
highest label should show "1.00e-005" or similar, with appropriate
scaling on the intermediate labels. I played a little with trying to use
the "ylim" property of the "axes" command, but wasn't able to get that
to work at all, let alone fix this problem.

 

Note: if I recall correctly, the tick labels worked properly in v2.1.73.

 

If there's a known workaround, please let me know. Thanks for your help.

 

Allen

 

Allen Boronkay, Ph.D.

Senior Member of Technical Staff

Hospira, Inc.

408-782-3215

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.cae.wisc.edu/pipermail/bug-octave/attachments/20080401/0c4a970d/attachment.html 


More information about the Bug-octave mailing list