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: Sat, 5 Jan 2008 23:41:02 +0800

hmmm, the follwing lines remove ticks and labels.

        x = 0:1;
        plot(x,x)
        set(gca,'xtick',[])
        set(gca,'ytick',[])

However, the box is left around the plot.

Unfortunately, "box off" reinstates the automatic ticks and their labels, and when the box is "off" the various xtick/ytick properties have no impact.

Since this part of the code is presently under substantial development, I suspect these "features" will soon be working properly.

However, I don't know how to place the arrows on the plot axes.

Ben

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



reply via email to

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