[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Speeding Up gnuplot Interface with Binary Data
From: |
David Bateman |
Subject: |
Re: Speeding Up gnuplot Interface with Binary Data |
Date: |
Thu, 16 Oct 2008 10:20:10 +0100 |
User-agent: |
Mozilla-Thunderbird 2.0.0.16 (X11/20080724) |
John W. Eaton wrote:
The follwoing commands that we are now sending to gnuplot
unconditionally seem to be the ones causing trouble:
set tmargin 0;
set bmargin 0;
set lmargin 0;
set rmargin 0;
These were moved in the changeset
http://hg.savannah.gnu.org/hgweb/octave/rev/f6ca8ff51818
Maybe David can comment on the reason for this change.
jwe
Ok, the following changeset fixes this for me..
D.
--
David Bateman address@hidden
Motorola Labs - Paris +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax)
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary
# HG changeset patch
# User David Bateman <address@hidden>
# Date 1224148044 -3600
# Node ID 1be10c655266ad2a230ef0aefce73a246ca4f52e
# Parent 920dc2ae50b2b59b73d34d903085f4a934125b4e
Always use multiplot with gnuplot to ensure correct postscript bounding box
diff --git a/scripts/ChangeLog b/scripts/ChangeLog
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -1,6 +1,12 @@
+2008-10-16 Ben Abbott <address@hidden>
+
+ * plot/__go_draw_figure__.m: Always use multiplot and create an
+ enclosing axis to ensure bounding box of postscript is correct.
+
2008-10-15 Ben Abbott <address@hidden>
- * plot/__go_draw_axes__.m: Support axes interpreter poperty for tick
labels.
+ * plot/__go_draw_axes__.m: Support axes interpreter poperty for
+ tick labels.
2008-10-15 David Bateman <address@hidden>
diff --git a/scripts/plot/__go_draw_figure__.m
b/scripts/plot/__go_draw_figure__.m
--- a/scripts/plot/__go_draw_figure__.m
+++ b/scripts/plot/__go_draw_figure__.m
@@ -42,12 +42,9 @@
fputs (plot_stream, "\nreset;\n");
fputs (plot_stream, "set autoscale fix;\n");
-
- multiplot_mode = axes_count > 1;
-
- if (multiplot_mode)
- fputs (plot_stream, "set multiplot;\n");
- endif
+ fputs (plot_stream, "set multiplot;\n");
+ fputs (plot_stream, "set origin 0, 0\n");
+ fputs (plot_stream, "set size 1, 1\n");
for i = 1:nkids
obj = get (kids(i));
@@ -60,9 +57,7 @@
endswitch
endfor
- if (multiplot_mode)
- fputs (plot_stream, "unset multiplot;\n");
- endif
+ fputs (plot_stream, "unset multiplot;\n");
else
fputs (plot_stream, "\nreset; clear;\n");
fflush (plot_stream);
- Re: Speeding Up gnuplot Interface with Binary Data, (continued)
- Re: Speeding Up gnuplot Interface with Binary Data, Daniel J Sebald, 2008/10/15
- Re: Speeding Up gnuplot Interface with Binary Data, John W. Eaton, 2008/10/15
- Re: Speeding Up gnuplot Interface with Binary Data, Dmitri A. Sergatskov, 2008/10/15
- Re: Speeding Up gnuplot Interface with Binary Data, Ben Abbott, 2008/10/15
- Re: Speeding Up gnuplot Interface with Binary Data, John W. Eaton, 2008/10/15
- Re: Speeding Up gnuplot Interface with Binary Data, Dmitri A. Sergatskov, 2008/10/15
- Re: Speeding Up gnuplot Interface with Binary Data, John W. Eaton, 2008/10/15
- Re: Speeding Up gnuplot Interface with Binary Data, David Bateman, 2008/10/15
- Re: Speeding Up gnuplot Interface with Binary Data, Dmitri A. Sergatskov, 2008/10/15
- Re: Speeding Up gnuplot Interface with Binary Data, David Bateman, 2008/10/16
- Re: Speeding Up gnuplot Interface with Binary Data,
David Bateman <=
- Re: Speeding Up gnuplot Interface with Binary Data, Daniel J Sebald, 2008/10/15
- Re: Speeding Up gnuplot Interface with Binary Data, Daniel J Sebald, 2008/10/15
- Re: Speeding Up gnuplot Interface with Binary Data, John W. Eaton, 2008/10/15