|
From: howudodat <pe...@ho...> - 2013-12-05 17:00:23
|
I am having two issues with my spectrum plot. (visible at: http://imagebin.org/280352) 1. the plot command is being added to the graph as a label. How can I disable that? 2. the entire plot seems to be shifted. the xtics seem to be rounded with the tics being: 133.180 E6, 133.200, 133.220, 133.240, 133.260, 133.280, 133.300 E6 the dataset however is: 133198120 -104.79 -104.43 -104.12 -104.69 -103.85 133198883 -105.15 -105.25 -104.03 -105.3 -104.94 133199646 -105.69 -105.4 -106.34 -105.43 -105.81 133200409 -104.84 -105.56 -104.66 -105.56 -106.05 133201172 -105.49 -105.56 -104.92 -106.34 -105.38 133201935 -105.72 -106.12 -106.11 -106.29 -105.66 133202698 -105.86 -105.68 -106.19 -105.8 -105.64 133203461 -105.4 -105.76 -106.14 -105.65 -105.39 133204224 -105.63 -105.17 -106.99 -106.29 -105.85 133204987 -105.48 -104.85 -106.11 -106.4 -107.38 133205750 -106.04 -105.91 -104.79 -106.24 -105.56 133206512 -105.96 -105.95 -106.27 -105.68 -105.97 133207275 -106.04 -105.36 -107.21 -105.51 -107.52 133208038 -106.74 -104.97 -106.34 -105.85 -106.19 133208801 -106.33 -105.35 -105.51 -106.41 -106.21 133209564 -106.03 -105.87 -106.25 -106.69 -105.85 133210327 -105.29 -106.13 -105.68 -105.62 -106.7 133211090 -105.95 -106.41 -105.25 -105.77 -105.47 133211853 -106.95 -105.78 -106.38 -106.53 -106.48 133212616 -105.52 -105.5 -106.53 -106.77 -106.84 133213379 -105.71 -106 -105.96 -106.3 -106.55 133214142 -105.57 -105.93 -106.64 -105.07 -106.82 133214905 -105.95 -105.55 -105.65 -106.03 -107.27 133215668 -106.95 -105.62 -107.26 -106.6 -106.54 133216431 -105.62 -105.65 -106.21 -105.73 -106.79 133217194 -106.28 -105.68 -105.73 -106.46 -106.86 133217957 -106.19 -106.4 -106.07 -106.32 -106.71 133218719 -106.64 -104.9 -105.93 -105.53 -106.68 133219482 -106.78 -106.17 -106.75 -106.2 -106.36 133220245 -106.34 -106.24 -106.3 -105.97 -107.14 133221008 -106.55 -105.75 -105.86 -106.72 -106.29 133221771 -105.2 -105.7 -105.39 -106.39 -107.62 and thus the plot "appears" to be shifted in the graph, the first line being at 133.198 here is the plot command: set output filename.'-spectrum.png' set title titlename."-spectrum" set format x "%.0s e%S" set format y "%.0f" set ylabel "time (secs)" set xlabel "frequency" set xrange[*:*] noreverse plot filename.'.csv' nonuniform matrix using 2:1:3 with image Peter -- View this message in context: http://gnuplot.10905.n7.nabble.com/labels-and-data-offset-tp17867.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2013-12-05 19:20:54
|
On 05.12.2013 17:43, howudodat wrote: > I am having two issues with my spectrum plot. (visible at: > http://imagebin.org/280352) > 1. the plot command is being added to the graph as a label. How can I > disable that? See "help plot" and learn about your options, "title" in particular. > 2. the entire plot seems to be shifted. I don't think so. The left edge of your data is quite exactly where 133.198 e6 should be on that scale. So: nothing shifted. > the xtics seem to be rounded with > the tics being: 133.180 E6, 133.200, 133.220, 133.240, 133.260, 133.280, > 133.300 E6 Yes, they are. So what? |
|
From: Peter C. <pe...@ho...> - 2013-12-05 21:29:18
|
How can I make it so that the first tick, end left edge of the plot is aligned to the first data element 133.198 - sorry if my last question wasn't clearer. Peter On 12/05/2013 11:20 AM, Hans-Bernhard Bröker wrote: > On 05.12.2013 17:43, howudodat wrote: > >> 2. the entire plot seems to be shifted. > > I don't think so. The left edge of your data is quite exactly where > 133.198 e6 should be on that scale. So: nothing shifted. > >> the xtics seem to be rounded with >> the tics being: 133.180 E6, 133.200, 133.220, 133.240, 133.260, 133.280, >> 133.300 E6 > > Yes, they are. So what? > |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2013-12-05 22:02:45
|
On 05.12.2013 22:08, Peter Carlson wrote: > How can I make it so that the first tick, end left edge of the plot is > aligned to the first data element 133.198 - sorry if my last question > wasn't clearer. See "help autoscale" about the "fix" group of options. |