[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: revised: How to set xtics in 2-D plot in Octave 3.0.0 on a PC with W
From: |
Tatsuro MATSUOKA |
Subject: |
Re: revised: How to set xtics in 2-D plot in Octave 3.0.0 on a PC with Windows Vista |
Date: |
Thu, 28 Feb 2008 17:54:08 +0900 (JST) |
Thanks Michael
michael.goffioul
>> ************************************************************
>>
>> ax=gca();
>> set (ax, "xtick", [pi/4, pi/2, pi, 1.5*pi, 2*pi])
>> set (ax, "xticklabelmode", "Manual")
>
>This should not be needed. Setting explicitely xticklabel switches
>xticklabelmode to manual (idem for xlim, xtick...).
I confirmed the following is OK.
******
ax=gca();
set (ax, "xtick", [pi/4, pi/2, pi, 1.5*pi, 2*pi]);
set (ax, "xticklabel", ["Pi/4";"Pi/2";"Pi";"3*Pi/2";"2*Pi"]);
*****
The point is thar label strings should be give by a column verctor.
Regrads
Tatsuro
--------------------------------------
Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar
http://pr.mail.yahoo.co.jp/toolbar/