|
From: <rhu...@ih...> - 2010-09-17 00:12:37
|
I have a multiplot with 4.4p1 The x axis is time data I run set multiplot layout 5,1 title "test" set xdata time set timefmt "%Y%m%d" set tmargin 0 set bmargin 0 set lmargin 4 set rmargin 4 plot "f" u 1:2 w l plot "f" u 1:3 w l plot "f" u 1:4 w l set format x "%Y%m" set xtics nomirror plot "f" u 1:5 w l The plots have no space between them and the plots before the "set xtics" start at the left-most point on the x axis but the last plot after "set xtics" Has a gap then the data is display along the x axis. I don't want to have to specify the start point for the x axis as it requires extracting that from the data. Is there some other way to make this work? -- |
|
From: Thomas S. <t.s...@fz...> - 2010-09-17 07:34:01
|
after the first plot command: set xrange [GPVAL_X_MIN:GPVAL_X_MAX] rhubbell wrote: > > I have a multiplot with 4.4p1 > > The x axis is time data > > I run > > set multiplot layout 5,1 title "test" > > set xdata time > set timefmt "%Y%m%d" > > set tmargin 0 > set bmargin 0 > set lmargin 4 > set rmargin 4 > > plot "f" u 1:2 w l > plot "f" u 1:3 w l > plot "f" u 1:4 w l > > > set format x "%Y%m" > set xtics nomirror > > plot "f" u 1:5 w l > > The plots have no space between them and the plots before the "set xtics" > start at the left-most point on the x axis but the last plot after "set > xtics" > Has a gap then the data is display along the x axis. > > I don't want to have to specify the start point for the x axis as it > requires > extracting that from the data. > Is there some other way to make this work? > -- > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/xaxis-alignment-for-multiplot-tp29734220p29735858.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: <rhu...@ih...> - 2010-09-18 00:21:56
|
On Fri, 17 Sep 2010 00:33:47 -0700 (PDT) Thomas Sefzick <t.s...@fz...> wrote: > > after the first plot command: > > set xrange [GPVAL_X_MIN:GPVAL_X_MAX] Thanks Thomas, that worked great. I never knew about these internal variables. I am curious about specifying xrange after the first plot command instead of before. I tried doing it before the first plot but it didn't work. I'm guessing that the x values don't get initialized until a plot command is given. > > > rhubbell wrote: > > > > I have a multiplot with 4.4p1 > > > > The x axis is time data > > > > I run > > > > set multiplot layout 5,1 title "test" > > > > set xdata time > > set timefmt "%Y%m%d" > > > > set tmargin 0 > > set bmargin 0 > > set lmargin 4 > > set rmargin 4 > > > > plot "f" u 1:2 w l > > plot "f" u 1:3 w l > > plot "f" u 1:4 w l > > > > > > set format x "%Y%m" > > set xtics nomirror > > > > plot "f" u 1:5 w l > > > > The plots have no space between them and the plots before the "set xtics" > > start at the left-most point on the x axis but the last plot after "set > > xtics" > > Has a gap then the data is display along the x axis. > > > > I don't want to have to specify the start point for the x axis as it > > requires > > extracting that from the data. > > Is there some other way to make this work? > > -- > > > > > > ------------------------------------------------------------------------------ > > Start uncovering the many advantages of virtual appliances > > and start using them to simplify application deployment and > > accelerate your shift to cloud computing. > > http://p.sf.net/sfu/novell-sfdev2dev > > _______________________________________________ > > gnuplot-info mailing list > > gnu...@li... > > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > > > > > -- > View this message in context: http://old.nabble.com/xaxis-alignment-for-multiplot-tp29734220p29735858.html > Sent from the Gnuplot - User mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info -- |