help-octave
[Top][All Lists]
Advanced

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

Re: tics number and tics location


From: Henry F. Mollet
Subject: Re: tics number and tics location
Date: Wed, 14 Nov 2007 10:10:52 -0800
User-agent: Microsoft-Entourage/11.1.0.040913

on 11/14/07 5:09 AM, Evan at address@hidden wrote:

> Can I specify number of tics and their locations when ploting in octave?
> 
> Thanks in advance.
> _______________________________________________
octave-2.9.17:1> get (gca)
ans =
{
 CUT
  xtick = [](0x0)
  ytick = [](0x0)
  ztick = [](0x0)
 CUT

octave-2.9.17:2> set (gca, 'xtick', [0.0 0.5 1.0])
octave-2.9.17:3> get (gca)
CUT
xtick =

     0.00000   0.50000   1.00000

  ytick = [](0x0)
  ztick = [](0x0)
CUT

On my Mac the first get (gca) command will open an AquaTerm window with
xaxis ticks [0 0.2 0.4 0.6 0.8 1] and same yaxis ticks and then the set
command will change the x-axis ticks to [0.0, 0.5, 1.0] . Otherwise blank
AquaTerm window without any plot.
Henry




reply via email to

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