|
From: Sara K. <sar...@gm...> - 2010-04-12 14:54:00
|
Hi all, I got gnuplot last night and have been working with it since this afternoon. I enjoyed it a lot. But I still need to figure out: How to make the x axis look longer in the plot or more importantly in the out put file. I am plotting the data from a long range of dates and if it keeps putting them in a small standard size plot nothing could be understood from the plot. I tried it with excel and when the graph is 9240*291 pixels, it gets readable. But now the gnuplot graph is 640* 480 and I do not know how to set the x axis to be longer. Right now my x axis looks like: set xdata time set timefmt "%b %d %H:%M\t" set format x "%b %d %H:%M" set xlabel "Date & Time" set xrange [*:*] what is the command to make it longer? Thank you, Sara |
|
From: Thomas S. <t.s...@fz...> - 2010-04-12 16:01:51
|
if the terminal you are using is supporting the 'size' option: set terminal ... size x,y have a look the documentation of your terminal. Sara Khalatbari wrote: > > Hi all, > > I got gnuplot last night and have been working with it since this > afternoon. > I enjoyed it a lot. > > But I still need to figure out: > > How to make the x axis look longer in the plot or more importantly in the > out put file. I am plotting the data from a long range of dates and if it > keeps putting them in a small standard size plot nothing could be > understood > from the plot. > > I tried it with excel and when the graph is 9240*291 pixels, it gets > readable. But now the gnuplot graph is 640* 480 and I do not know how to > set > the x axis to be longer. > > Right now my x axis looks like: > set xdata time > set timefmt "%b %d %H:%M\t" > set format x "%b %d %H:%M" > set xlabel "Date & Time" > set xrange [*:*] > > > what is the command to make it longer? > > > Thank you, > Sara > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/How-to-extend-the-X-axis-longer-so-that-the-output-file-would-actually-look-bigger-and-longer-tp28218866p28219149.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2010-04-13 19:02:36
|
Sara Khalatbari wrote: > I tried it with excel and when the graph is 9240*291 pixels, it gets > readable. You gotta be kidding. There's no way a file 9000 pixels wide is "readable". It won't fit on any kind of screen you're ever likely to get. If you rescale it down far enough to fit, the letters will be squashed into unreadability. If you zoom in, 80% or so of it will be invisible. That's no way to establish readability. > set format x "%b %d %H:%M" That's quite wide for a tick label, which risks that neighboring labels will run into another. You'll want to make that narrower, e.g. print it in two-line format: set format x "%b %d\n%H:%M" or rotate it: set xtics rotate |
|
From: Sara K. <sar...@gm...> - 2010-04-16 08:43:39
|
Thanks all. I tried set term gif size 9240,291 set output "public_html/test.gif" and it worked out. Once you click on it on the website, it shows so small and then you can click on it, it zooms and you can scroll and go forward. It is all clear. Sara 2010/4/13 Hans-Bernhard Bröker <HBB...@t-...> > Sara Khalatbari wrote: > > I tried it with excel and when the graph is 9240*291 pixels, it gets >> readable. >> > > You gotta be kidding. There's no way a file 9000 pixels wide is > "readable". It won't fit on any kind of screen you're ever likely to get. > If you rescale it down far enough to fit, the letters will be squashed into > unreadability. If you zoom in, 80% or so of it will be invisible. That's > no way to establish readability. > > > set format x "%b %d %H:%M" >> > > That's quite wide for a tick label, which risks that neighboring labels > will run into another. You'll want to make that narrower, e.g. print it in > two-line format: > > set format x "%b %d\n%H:%M" > > or rotate it: > > set xtics rotate > > |