octave-maintainers
[Top][All Lists]
Advanced

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

Re: more graphics changes - subplots overlap


From: John W. Eaton
Subject: Re: more graphics changes - subplots overlap
Date: Wed, 21 Mar 2007 17:13:07 -0400

On 21-Mar-2007, Søren Hauberg wrote:

| David Bateman skrev:
| [snip]
| > It fact even just
| > 
| >     figure(1)
| >     x=1:0.01:10;
| >     xlabel("X");
| >     title ("Sin(x)");
| >     ylabel("Y");
| >     plot (x,sin(x));
| > 
| > is sufficient to show the issue...
| Using matlab 7.3.0.298 (R2006b) I get the following
| 
|    figure(1)         % A window appears.
|    x=1:0.01:10;
|    xlabel('X');      % The letter 'X' appears under the horizontal axis.
|    title('sin(x)')   % The title appears. Both the title and the x-label
|                      % is visible.
|    ylabel('Y');      % The letter 'Y' appears. Both the title, the
|                      % x-label, and the y-label is visible.
|    plot(x, sin(x))   % The plot appears, but x- and y-labels disappears
|                      % along with the title.
| 
| In Octave I get the following
| 
|    figure(1)         % A window appears.
|    x=1:0.01:10;
|    xlabel('X');      % Nothing happens
|    title('sin(x)')   % Nothing happens.
|    ylabel('Y');      % Nothing happens
|    plot(x, sin(x))   % The plot appears without the x- and y-labels
|                      % and the title.
| 
| So the current behavior seems to be fairly close to compatible.

And the reason nothing happens until the plot command is because I
don't know how to make gnuplot display axes (with or without labels
and a title) if there is no data to plot.

jwe



reply via email to

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