tag:blogger.com,1999:blog-4020452510052679998.post8015409491033720469..comments2024-03-25T22:54:48.195-07:00Comments on Gnuplot tricks: A small (or big) diversionGnuplotterhttp://www.blogger.com/profile/10560778800525149384noreply@blogger.comBlogger17125tag:blogger.com,1999:blog-4020452510052679998.post-90343326557560711582022-04-27T06:49:00.731-07:002022-04-27T06:49:00.731-07:00Very nice blog, Thanks for sharing great article.
...Very nice blog, Thanks for sharing great article.<br />You are providing wonderful information, it is very useful to us.<br />Thank you.<br /><br />For more information about: <a href="https://www.extnoc.com/blog/managed-services-vs-outsourcing/" rel="nofollow">Managed Services vs Outsourcing</a>Ram Chanderhttps://www.blogger.com/profile/17843344052103015091noreply@blogger.comtag:blogger.com,1999:blog-4020452510052679998.post-37863129454218059062018-10-11T23:41:58.924-07:002018-10-11T23:41:58.924-07:00Hey there, You have done a fantastic job. I will ...Hey there, You have done a fantastic job. I will certainly digg it and personally suggest to my friends. I'm confident they'll be benefited from this website.<a href="https://shop.afpworx.com/shop/en" rel="nofollow">afp print format</a><br />BroddyAdamshttps://www.blogger.com/profile/11406565356841813318noreply@blogger.comtag:blogger.com,1999:blog-4020452510052679998.post-38820960414397845892015-04-09T04:02:06.144-07:002015-04-09T04:02:06.144-07:00This comment has been removed by a blog administrator.Angel Riohttps://www.blogger.com/profile/08013444739598947849noreply@blogger.comtag:blogger.com,1999:blog-4020452510052679998.post-69501740525158925332013-06-03T23:29:52.428-07:002013-06-03T23:29:52.428-07:00Your website is terribly informative and your arti...Your website is terribly informative and your articles are wonderful. <a href="http://loans123.blog.fc2.com/" rel="nofollow">cash advance payday loan</a><br />Anonymoushttps://www.blogger.com/profile/13966250760311492871noreply@blogger.comtag:blogger.com,1999:blog-4020452510052679998.post-66086027807697144522013-06-01T03:44:31.686-07:002013-06-01T03:44:31.686-07:00Informative article, precisely what I wanted. ppi ...Informative article, precisely what I wanted. <a href="http://ppiclaim121.beep.com/" rel="nofollow">ppi reclaim</a><br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4020452510052679998.post-80557481530566384472012-06-02T14:19:17.001-07:002012-06-02T14:19:17.001-07:00Nem gondoltam volna, hogy egy kis gnuplotra keresg...Nem gondoltam volna, hogy egy kis gnuplotra keresgélés közben meglepetés ér, de tévedtem :-)karatedoghttps://www.blogger.com/profile/00388619672880872101noreply@blogger.comtag:blogger.com,1999:blog-4020452510052679998.post-58993353054274350412010-10-08T04:40:33.714-07:002010-10-08T04:40:33.714-07:00Hi Mariangels,
It is not quite clear, whether you...Hi Mariangels,<br /><br />It is not quite clear, whether your question relates to gnuplot, or pyxplot. In the first case, you could do the following: First, you have to determine, what was the zeroth element in the column. You can achieve this by plotting only that element, and then determining the max/min of the plot range. I have used this trick quite a few times on this blog. So, in a script, this could look like this<br /><br />plot 'foo' u 1:4 every ::0::0<br />zeroth_y = GPVAL_DATA_Y_MIN<br /><br />plot 'foo' u 1:($4/zeroth_y)<br /><br />If you use gnuplot 4.4, you can use the tricks in http://gnuplot-tricks.blogspot.com/2010/01/further-new-features-in-gnuplot-44.html to determine the value of the first element of the plot. Basically, you just have to define a function <br /><br />f(x) = (a=x, 1/0)<br />plot 'foo' u 1:(f($4)) every ::0::0, 'foo' u 1:($4/a) w l<br /><br />You only have to watch out for cases, when the zeroth element is zero.<br />If the question was about pyxplot, you could see the post on using macros. <br />I hope this helps,<br />ZoltánGnuplotterhttps://www.blogger.com/profile/10560778800525149384noreply@blogger.comtag:blogger.com,1999:blog-4020452510052679998.post-74404604208931641842010-10-08T04:28:32.725-07:002010-10-08T04:28:32.725-07:00Hi Kamil,
You can look at a post in http://gnuplo...Hi Kamil,<br /><br />You can look at a post in http://gnuplot-tricks.blogspot.com/2010/01/further-new-features-in-gnuplot-44.html , or gnuplot's demo site, http://gnuplot.sourceforge.net/demo_4.4/vector.html . <br />Cheers,<br />ZoltánGnuplotterhttps://www.blogger.com/profile/10560778800525149384noreply@blogger.comtag:blogger.com,1999:blog-4020452510052679998.post-75624821926247215242010-10-08T01:00:24.862-07:002010-10-08T01:00:24.862-07:00I've just tried pxyplot and it's nice. I l...I've just tried pxyplot and it's nice. I like the output as opposed to the terminal, and the latex looks. But since I do lots of multiplots, it doesn't take as many options as gnuplot does.<br /><br />In any case, I'm really looking for a script or program that would let me choose element [n] to use when plotting with plot "file" using 1:4, so that I can divide all the elements of column 4 by its value at t=0. I've tried plot "file" using 1:($4/$4[0]) but it doesn't work, and searched everywhere and it seems you either do a script that calls awk or you divide by the value by hand, but that's not ideal when you have several data files to plot...mariangelshttps://www.blogger.com/profile/03777988485229567953noreply@blogger.comtag:blogger.com,1999:blog-4020452510052679998.post-64829333815963129322010-10-06T01:39:12.650-07:002010-10-06T01:39:12.650-07:00Hi there,
New to your blog. I am interested in us...Hi there,<br /><br />New to your blog. I am interested in using gnuplot to generates a vector plot. do you have any example of such kind of application?farithfahmyhttps://www.blogger.com/profile/04425732524314297071noreply@blogger.comtag:blogger.com,1999:blog-4020452510052679998.post-44211677728384357402010-09-21T13:31:53.742-07:002010-09-21T13:31:53.742-07:00Greetings Karl,
I haven't had too much time r...Greetings Karl,<br /><br />I haven't had too much time recently, so I couldn't live up to my promise about the plots. I will try to do that soon. As for your second question, there is a recent patch to gnuplot, with which you can plot arcs based on numbers in a file. I believe, you could use that to generate the polar plot that you linked to.<br />Cheers,<br />ZOltánGnuplotterhttps://www.blogger.com/profile/10560778800525149384noreply@blogger.comtag:blogger.com,1999:blog-4020452510052679998.post-9966894861094758912010-09-09T21:19:52.761-07:002010-09-09T21:19:52.761-07:00Thank you Zoltán,
At your own pace, would you als...Thank you Zoltán,<br /><br />At your own pace, would you also be able to replicate a polar graph like this in gnuplot:<br /><br />http://matplotlib.sourceforge.net/examples/pylab_examples/polar_bar.html<br /><br />In asking these questions, my only goal is to have peace of mind in knowing that if I learn gnuplot well, I will be able to reproduce almost anything.<br /><br />I'm actually using Perl in my work. The concerns you raised about not being able to do data analysis in gnuplot are (in my opinion) a bit unfair. Ultimately, no matter what you add to gnuplot, it will never really be as powerful or general purpose as Perl or Python. You will always have to fall back to those languages for any 'serious' work.<br /><br />Anyhow, I went through the matplotlib gallery and the 3-d and polar graphs are the only ones that gave me pause. But perhaps you can find others.<br /><br />Thanks again,<br /><br />KarlKarlhttps://www.blogger.com/profile/16930901452595239251noreply@blogger.comtag:blogger.com,1999:blog-4020452510052679998.post-8330153299187836522010-09-09T06:47:59.008-07:002010-09-09T06:47:59.008-07:00Hello Karl,
3/4 of that graph is easily reproduce...Hello Karl,<br /><br />3/4 of that graph is easily reproduced in gnuplot, and the remaining 1/4 is also easy, if you are allowed to use a gawk script or something to "rotate" your data file. I will write it up next week.<br />Cheers,<br />ZoltánGnuplotterhttps://www.blogger.com/profile/10560778800525149384noreply@blogger.comtag:blogger.com,1999:blog-4020452510052679998.post-81561678954861478812010-09-04T19:02:43.812-07:002010-09-04T19:02:43.812-07:00I'm not nearly as adept at gnuplot as you are....I'm not nearly as adept at gnuplot as you are. However, I am willing to learn. That being said, if I am going to devote any time to this, I want to be sure that I've picked the best tool. On that note, there is also the python based matplotlib.<br /><br />Here is a gallery:<br /><br />http://matplotlib.sourceforge.net/gallery.html<br /><br />It looks very nice. I especially like their 3d graphs. The x and y grid lines extend onto the z axis (so that the xy-plane is not the only one with a crossed grid). My question for you is, would you be able to replicate a graph like this in gnuplot:<br /><br />http://matplotlib.sourceforge.net/examples/mplot3d/contour3d_demo3.html<br /><br />In fact, trying to replicate some of the other graphs on that site would make for some good future topics on your blog.<br /><br />Thanks!Karlhttps://www.blogger.com/profile/16930901452595239251noreply@blogger.comtag:blogger.com,1999:blog-4020452510052679998.post-52138228522347320832010-09-03T11:30:49.749-07:002010-09-03T11:30:49.749-07:00Slightly OT but, I like thw way R plotsSlightly OT but, I like thw way R plotsUnknownhttps://www.blogger.com/profile/04584803031688124617noreply@blogger.comtag:blogger.com,1999:blog-4020452510052679998.post-62474593986933066422010-08-28T04:34:44.590-07:002010-08-28T04:34:44.590-07:00Thanks for the pointer to pyxplot. It does look v...Thanks for the pointer to pyxplot. It does look very impressive!Erichttps://www.blogger.com/profile/03789079032968275865noreply@blogger.comtag:blogger.com,1999:blog-4020452510052679998.post-9031276166613204532010-08-27T02:49:52.546-07:002010-08-27T02:49:52.546-07:00For someone so proficient with gnuplot it's im...For someone so proficient with gnuplot it's impressive to see you're open to alternatives.<br /><br />I'll have a look at pyxplot. Thanks!<br />Looks like it's written in C and previously used PyX as its output engine, hence the name.<br /><br />Personally I would have named a new GNU plotting package "powder". gun powder plot, get it, har har.Pádraig Bradyhttps://www.blogger.com/profile/09859979434686189342noreply@blogger.com