From: naser on
I want to plot a graph with axes that is pointed with maltiple of "pi". please guide me.
From: Jan Simon on
Dear naser!

> I want to plot a graph with axes that is pointed with maltiple of "pi". please guide me.

Set the property "XTick" of your axes accordingly, e.g.:
set(AxesHandle, 'XTick', [0, pi, 2*pi, 3*pi])

Good luck, Jan
From: ZikO on
On 14/02/2010 14:36, Jan Simon wrote:
> Dear naser!
>
>> I want to plot a graph with axes that is pointed with maltiple of
>> "pi". please guide me.
>
> Set the property "XTick" of your axes accordingly, e.g.:
> set(AxesHandle, 'XTick', [0, pi, 2*pi, 3*pi])
>
> Good luck, Jan

Perhaps you would like to change their labels to pi 2pi 3pi etc.:

set(AxesHandle, 'XTickLabel', {'0', 'pi', '2pi2', '3pi'})

ZikO