help-octave
[Top][All Lists]
Advanced

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

Re: Identify auto tick locations


From: Peter A. Gustafson
Subject: Re: Identify auto tick locations
Date: Tue, 30 Oct 2007 17:32:31 -0400
User-agent: KMail/1.9.7

On Tuesday 30 October 2007 17:15:13 Troy Henderson wrote:
> Is it possible to get Octave to return its automatic placement of tick
> locations (both x and y) for a 2D graph without having to actually
> plot something by simply providing an "axis range".  For example,
> executing the command
>
> axis([0 1 -4e4 4e4])
>
> pops up a plot window where the x ticks (and labels) are located at
> 0,0.2,0.4,0.6,0.8,1 and the y ticks (and labels) are located at
> -40000,-30000,-20000,-10000,0,10000,20000,30000,40000
>
> Is there a command in Octave to retrieve these two lists without
> having to open a plot window?
>
> Thanks,
>
> Troy Henderson
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www.cae.wisc.edu/mailman/listinfo/help-octave

No, tic placement is managed by the plotting backend (gnuplot) unless you 
specify the tic positions on your own.  The latter is most easily done with 
the tics() function in octave-forge plot package, thought it can be done with 
the set() function.

Pete


reply via email to

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