NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

log scale

Hi Bill,

Thank you for the sample code, it helped us get started.
Since auto-scaling is important for us, we are working on some small methods 
which allows auto-scaling in log-log and semi-log plots, and calculates the 
coordinates of minor and major ticks for the logarithmic axis.

I can not see any other way to put ticks on a log axis (if I want more ticks 
than at the powers of 10) then modify the AxisScale class and add these 
mothods to the AxisScale class. I would appreciate if you could confirm this, 
since if there is another way, I would prefer not to modify any VisAD class.

Julius
 




>Hi Julius,
>
>
>See:
>
>  http://www.unidata.ucar.edu/glimpse/visad-list/1983
>
>which includes a sample program for doing this. It isn't just
>a simple widget, but it does get the job done using a custom
>LogCoordinateSystem and explcitly setting axis labels.
>
>Good luck,
>Bill



  • 2002 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: