[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: |
Thu, 22 Mar 2007 14:10:36 -0400 |
On 21-Mar-2007, Daniel J Sebald wrote:
| John W. Eaton wrote:
|
| > | 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.
|
| If a range is specified, you should be able to get away with something like
the
| following.
|
| set xrange [0:1]
| set yrange [0:1]
| plot '-' with lines
| Inf Inf
| e
OK, I made the following change.
Thanks,
jwe
scripts/ChangeLog:
2007-03-22 John W. Eaton <address@hidden>
* plot/__go_draw_axes__.m: If no real data, plot a point at Inf,
Inf to show axes. From Daniel J Sebald <address@hidden>.
Index: scripts/plot/__go_draw_axes__.m
===================================================================
RCS file: /cvs/octave/scripts/plot/__go_draw_axes__.m,v
retrieving revision 1.5
diff -u -u -r1.5 __go_draw_axes__.m
--- scripts/plot/__go_draw_axes__.m 21 Mar 2007 15:57:19 -0000 1.5
+++ scripts/plot/__go_draw_axes__.m 22 Mar 2007 18:09:23 -0000
@@ -723,6 +723,8 @@
fputs (plot_stream, "e\n");
endif
endfor
+ else
+ fputs (plot_stream, "plot \"-\";\nInf Inf\ne\n");
endif
fflush (plot_stream);
- Re: more graphics changes., (continued)
- Re: more graphics changes., Søren Hauberg, 2007/03/20
- Re: more graphics changes - subplots overlap, Alex Zvoleff, 2007/03/20
- Re: more graphics changes - subplots overlap, David Bateman, 2007/03/21
- Re: more graphics changes - subplots overlap, Søren Hauberg, 2007/03/21
- Re: more graphics changes - subplots overlap, David Bateman, 2007/03/21
- Re: more graphics changes - subplots overlap, Søren Hauberg, 2007/03/21
- Re: more graphics changes - subplots overlap, John W. Eaton, 2007/03/21
- Re: more graphics changes - subplots overlap, Søren Hauberg, 2007/03/21
- Re: more graphics changes - subplots overlap, Daniel J Sebald, 2007/03/21
- Re: more graphics changes - subplots overlap,
John W. Eaton <=
- Re: more graphics changes - subplots overlap, John W. Eaton, 2007/03/21
Re: more graphics changes., Daniel J Sebald, 2007/03/20
- Re: more graphics changes., David Bateman, 2007/03/21
- Re: more graphics changes., John W. Eaton, 2007/03/21
- Re: more graphics changes., David Bateman, 2007/03/21
- Re: more graphics changes., David Bateman, 2007/03/21
- Re: more graphics changes., John W. Eaton, 2007/03/21
Re: more graphics changes., Daniel J Sebald, 2007/03/21