help-octave
[Top][All Lists]
Advanced

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

Re: problem with axis


From: Ben Abbott
Subject: Re: problem with axis
Date: Sun, 6 Jan 2008 00:26:02 +0800


On Jan 5, 2008, at 11:21 PM, Tino Langer wrote:

Ben Abbott schrieb:
You want the axis labels without the tic-marks?
Ben

no labels for the tics (for example 0  1  2  3  4 ...) on the axis - only a plain line with an arrow on the end if this is possible.

I think I have found my mistake - box("off") disables the axis :-/ But a box is not neccessary.

What I want is the following:

<-- snip -->

^
|
|
|
|
|
------------------------------>
x-axis

<-- snap -->

thanks fpr help - Tino

Tino,

Try modifying this to suit your needs. 

x = [0 1];
plot(x,x);
axis([0 1 0 1])
set(gca,'xtick',[0 1]);
set(gca,'ytick',[0 1]);
set(gca,'xticklabel',{''',''})
set(gca,'yticklabel',{'',''})
xlabe('x-axis')
ylabel('y-axis")
box off

There are no arrows, but ....

Ben



reply via email to

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