tag:blogger.com,1999:blog-4020452510052679998.post7857673443475077562..comments2024-03-25T22:54:48.195-07:00Comments on Gnuplot tricks: Ministry of Sillier WalksGnuplotterhttp://www.blogger.com/profile/10560778800525149384noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-4020452510052679998.post-85299234091191010092017-04-01T15:11:58.751-07:002017-04-01T15:11:58.751-07:00I realize this is old, but, with gnuplot 5.0 patch...I realize this is old, but, with gnuplot 5.0 patchlevel 3, <br />I get a <br />Warning: empty y range [1:1], adjusting to [0.99:1.01]<br />after the <br />plot file every ::1 using 0:(pal(1, column(0)))<br />line and all the cylinders are red.<br />Any ideas?Anonymoushttps://www.blogger.com/profile/15384116561447914778noreply@blogger.comtag:blogger.com,1999:blog-4020452510052679998.post-37304698866248742632010-08-18T00:31:31.369-07:002010-08-18T00:31:31.369-07:00Hi Ablimit,
You have simply got to use the 'w...Hi Ablimit,<br /><br />You have simply got to use the 'with labels' modifier in the plot as in <br /><br />plot 'foo' u 1:2:2 with labels<br /><br />See also http://gnuplot.sourceforge.net/demo_4.4/datastrings.html<br /><br />Cheers,<br />ZoltánGnuplotterhttps://www.blogger.com/profile/10560778800525149384noreply@blogger.comtag:blogger.com,1999:blog-4020452510052679998.post-11530382374569971542010-08-16T17:20:30.975-07:002010-08-16T17:20:30.975-07:00Hi Gnuplotter,
How did you put the numbers on top...Hi Gnuplotter,<br /><br />How did you put the numbers on top of the each cylinder ? <br />I wanted to put similar label on top of a simple boxes.<br /><br />Thanks,<br />Ablimitablimithttps://www.blogger.com/profile/00259570996066994385noreply@blogger.comtag:blogger.com,1999:blog-4020452510052679998.post-19102231924109791842010-06-21T10:59:31.612-07:002010-06-21T10:59:31.612-07:00Greetings Mittko,
Thanks for visiting! I will try...Greetings Mittko,<br /><br />Thanks for visiting! I will try to answer your questions below.<br />1: The eps file is going to be large, simply because the surfaces are represented as a set of small rectangle/triangles. You can't help that, unless you are willing to sacrifice resolution. If you set the isosamples to a smaller number, your eps file will accordingly be smaller. However, if you are using pdf files anyway, you could convert the eps to pdf before you include it in LaTeX. You could use this on linux<br /><br />ps2pdf -dEPSCrop in.eps out.pdf<br /><br />2: This is really weird, and I can't think of anything that might produce this. Does this also happen, when you use wxt or x11 terminal? I used wxt, and took screen shots for the posting.<br /><br />3. Yes. If you look at some of my older posts, you can find various examples on how to do this. Basically, you can have a parametric plot, and just plot a plane with a pre-defined palette. I would really suggest that you check out my posts on the ribbon chart, e.g., from last August.<br /><br />Cheers,<br />ZoltánGnuplotterhttps://www.blogger.com/profile/10560778800525149384noreply@blogger.comtag:blogger.com,1999:blog-4020452510052679998.post-75136041808286891822010-06-17T00:15:28.867-07:002010-06-17T00:15:28.867-07:00Thank you for your nice plots.
However, I have a ...Thank you for your nice plots.<br /><br />However, I have a question: How can one get the last plot as a high quality *.eps image (which is not that large)? I have a few issues:<br /><br />1. The obtained file with "term post enhanced..." is 5.5Mb. When used in Latex, the obtained PDF handles the image quite heavily. Also, there are a few scattered color points around the image when viewed in PDF.<br /><br />2. I cannot get the whole purple part of the cylinder displayed in any way (term post, png; scaling, resizing, resolution with imagemagick, gimp, etc). It is always produced with a portion missing on the left purple sides of the cylinders (you can see a *jpg image at http://tranz.it/load.php?id=mmvEGImFLm9pzMTJ562064).<br /><br />3. Could the base be colored with gradient?<br /><br />I tried to convert/rescale the *.eps image in different formats/scales and then back to *eps and got satisfactory results, but not perfect (i.e. one could work with them, but resolution vs size is not what one would want). <br /><br />I am using gnuplot CVS 4.5, but 4.4 also gave the same results.<br />Thanks.Unknownhttps://www.blogger.com/profile/03980244092788509340noreply@blogger.com