Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #584
| From | dom for <ddomm56@gmail.com> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | plot using lines wraps around |
| Date | 2011-09-15 14:03 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <bcc9cfcc-43f7-4b36-9bc2-7921a61fd2d0@j8g2000yqa.googlegroups.com> (permalink) |
I'm plotting using the following command: plot "$p" using 2:6 title "IOPS" with lines lt 3 axes x1y1, \ "$p" using 2:9 title "Service Time" with lines lt 4 axes x1y2 The plot seems to create a line from the last entry to the first entry as if it continued from the first entry again. The complete gnuplot commands are as follows: # set datafile separator " " set terminal png small size $W,$H set output "$HOSTNAME/$PNG_PATH/sa$day_name.2.$device.multiplot.png" show output set multiplot layout 2, 1 scale 0.99,1.3 #0.95,1.3 #set format x "" #show format unset xtics unset xlabel set size 1.0,0.55 set style data lines set title "Disk IOPS vs Service Time, for Day => $day_name, for device => $device" tc lt 3 set ylabel "IOPS" tc lt 3 set y2label "msec" tc lt 4 set autoscale y set autoscale x set autoscale y2 set yrange [0:*] set y2range [0:*] noreverse writeback set grid set xdata time set timefmt "%H:%M:%S" set format x "%H:%M" set xrange [*:*] set xtics border norotate set ytics axis norotate set ytics textcolor lt 3 set y2tics textcolor lt 4 set xtics nomirror font "Arial,8" tc rgbcolor "blue" set ytics nomirror font "Arial,8" tc rgbcolor "blue" set bmargin 6 #show format show title set style data histogram set style histogram rowstacked plot "$p" using 2:6 title "IOPS" with lines lt 3 axes x1y1, \ "$p" using 2:9 title "Service Time" with lines lt 4 axes x1y2 unset label unset y2range unset y2tics unset y2label unset object 1 set key autotitle columnheader set object 2 rect from graph 0.01,-0.01 to graph 1.01,0.99 behind fc rgb "#333333" fillstyle transparent noborder set label 3 "Max Busy = %6.0f", tmaxbusy at graph 0.1,0.9 front font "Arial,8" tc lt 2 set timestamp set title "Disk Busy, for Day => $day_name, for device => $device" tc lt 2 set xlabel "Time" font "Arial,8" tc rgbcolor "blue" set xdata time set format x "%H:%M" set xtics border norotate set ytics textcolor lt 2 set ytics nomirror set autoscale y set origin 0.0,0.0 set size 1.0,0.55 set yrange [0:100] set ylabel "% Busy" tc lt 2 set rmargin 9 show title plot "$p" using 2:4 title "Busy" with lines lt 2 axes x1y1 unset multiplot Any ideas as to what I'm doing wrong that would cause the plot to wrap? I'm using: G N U P L O T Version 4.4 patchlevel 0 last modified March 2010 System: SunOS 5.10 On Solaris for SPARC. Thanks, Dom sample output is here: http://sourceforge.net/tracker/download.php?group_id=2055&atid=202055&file_id=423402&aid=3408180 sample data: 2011-09-01 00:05:00 sd0 0 0.0 0 6 0.0 28.0 2011-09-01 00:10:00 sd0 0 0.0 0 7 0.0 24.8 2011-09-01 00:15:00 sd0 0 0.0 1 16 0.0 25.6 2011-09-01 00:20:00 sd0 0 0.0 0 6 0.0 23.9 2011-09-01 00:25:00 sd0 0 0.0 0 7 0.0 25.3 2011-09-01 00:30:00 sd0 0 0.0 1 15 0.0 25.0 2011-09-01 00:35:00 sd0 0 0.0 1 19 0.0 24.8 2011-09-01 00:40:00 sd0 0 0.0 0 7 0.0 25.5 2011-09-01 00:45:00 sd0 0 0.0 1 8 0.0 25.3 2011-09-01 00:50:00 sd0 0 0.0 0 6 0.0 26.0 2011-09-01 00:55:00 sd0 0 0.0 0 7 0.0 24.5 2011-09-01 01:00:01 sd0 0 0.0 1 8 0.0 24.6
Back to comp.graphics.apps.gnuplot | Previous | Next — Next in thread | Find similar
plot using lines wraps around dom for <ddomm56@gmail.com> - 2011-09-15 14:03 -0700 Re: plot using lines wraps around Péter Juhász <peter.juhasz83@gmail.com> - 2011-09-17 06:00 -0700
csiph-web