|
From: <dni...@gm...> - 2007-08-14 20:19:14
Attachments:
radar_plot.gif
|
Hi guys, I have one question concerning polar plots. I want to plot wind direction and concentration of dust in the air. Wind direction should be the degree of the circle and the concentration of dust the distance from the center. I made a example with excen (aargh!) but am not able to do this with gnuplot. Can you give me a hint how to do this? Thank you in advance! Cheers Daniel |
|
From: Oberwittler, D. <d.o...@mp...> - 2013-04-16 12:51:34
|
Hi, I didn't succeed to produce a polar plot which should ideally look like these (Python): http://scienceoss.com/categories/python/matplotlib/ . Basically, it is a bar chart turned into a circular polar plot. A basic example for the histogram would be: ********************************* reset set xlabel "category" set ylabel "value" set grid set xrange [0:7] set yrange [0:10] set style data boxes set style fill solid 1.0 set boxwidth 0.95 relative plot "temp1.dat" u 1:2 w boxes ********************************** where the data temp1.dat is: ================================== 1 7.5 2 5.8 3 7.9 4 4.2 5 5.0 6 7.7 ================================= I asked this question before but didn't get an answer. I would be very happy about any hints! Dietrich -- Priv.-Doz. Dr. phil. Dietrich Oberwittler Max-Planck-Institut für ausländisches und internationales Strafrecht - Abteilung Kriminologie Max Planck Institute for Foreign and International Criminal Law - Department of Criminology Guenterstalstrasse 73, D-79100 Freiburg i.Br. (Germany) Tel. ++49 761 7081 219, Fax ++49 761 7081 294 institute: http://www.mpicc.de/ personal: http://www.mpicc.de/ww/de/pub/home/oberwittler.htm |
|
From: Ethan M. <eam...@gm...> - 2013-04-17 01:16:28
|
On Tue, Apr 16, 2013 at 5:21 AM, Oberwittler, Dietrich <d.o...@mp...> wrote: > Hi, > > I didn't succeed to produce a polar plot which should ideally look like > these (Python): http://scienceoss.com/categories/python/matplotlib/ . > Basically, it is a bar chart turned into a circular polar plot. I think the closest plotting style in gnuplot is to plot with impulses. See for example the final plot in http://gnuplot.sourceforge.net/demo/poldat.html There is a rather ugly hack that could produce plots more similar in appearance to the example you gave. Here is a proof of principle: set polar set grid polar set border 0 set view equal xy set size square unset xtics unset ytics unset key set rrange [.1:10] set rtics axis scale 0.5,0 nomirror rotate by -270 offset 0, 0.7 set rtics (2,4,6,8) set multiplot plot [.5:.7] 2 with filledcurves r=1 plot [.9:1.1] 3 with filledcurves r=1 plot [1.4:2.1] 4 with filledcurves r=.1 plot [1.8:3.0] 3 with filledcurves r=2 lc rgb "gold" unset multiplot > > A basic example for the histogram would be: > > ********************************* > reset > set xlabel "category" > set ylabel "value" > set grid > set xrange [0:7] > set yrange [0:10] > set style data boxes > set style fill solid 1.0 > set boxwidth 0.95 relative > plot "temp1.dat" u 1:2 w boxes > ********************************** > > where the data temp1.dat is: > ================================== > 1 7.5 > 2 5.8 > 3 7.9 > 4 4.2 > 5 5.0 > 6 7.7 > ================================= > > I asked this question before but didn't get an answer. I would be very > happy about any hints! > > Dietrich > > > > -- > > > Priv.-Doz. Dr. phil. Dietrich Oberwittler > > Max-Planck-Institut für ausländisches und internationales Strafrecht - Abteilung Kriminologie > > Max Planck Institute for Foreign and International Criminal Law - Department of Criminology > > Guenterstalstrasse 73, D-79100 Freiburg i.Br. (Germany) > Tel. ++49 761 7081 219, Fax ++49 761 7081 294 > institute: http://www.mpicc.de/ personal: http://www.mpicc.de/ww/de/pub/home/oberwittler.htm > > > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info |
|
From: Clement L. <the...@gm...> - 2013-04-17 08:47:52
|
This isn't exactly what you're looking for but it may be helpful: http://gnuplot-tricks.blogspot.co.uk/2010/02/parametric-plot-from-file-ii.html On 17 April 2013 02:16, Ethan Merritt <eam...@gm...> wrote: > On Tue, Apr 16, 2013 at 5:21 AM, Oberwittler, Dietrich > <d.o...@mp...> wrote: >> Hi, >> >> I didn't succeed to produce a polar plot which should ideally look like >> these (Python): http://scienceoss.com/categories/python/matplotlib/ . >> Basically, it is a bar chart turned into a circular polar plot. > > I think the closest plotting style in gnuplot is to plot with impulses. > See for example the final plot in > http://gnuplot.sourceforge.net/demo/poldat.html > > There is a rather ugly hack that could produce plots more similar > in appearance to the example you gave. Here is a proof of principle: > > set polar > set grid polar > set border 0 > set view equal xy > set size square > unset xtics > unset ytics > unset key > set rrange [.1:10] > set rtics axis scale 0.5,0 nomirror rotate by -270 offset 0, 0.7 > set rtics (2,4,6,8) > set multiplot > plot [.5:.7] 2 with filledcurves r=1 > plot [.9:1.1] 3 with filledcurves r=1 > plot [1.4:2.1] 4 with filledcurves r=.1 > plot [1.8:3.0] 3 with filledcurves r=2 lc rgb "gold" > unset multiplot > > > >> >> A basic example for the histogram would be: >> >> ********************************* >> reset >> set xlabel "category" >> set ylabel "value" >> set grid >> set xrange [0:7] >> set yrange [0:10] >> set style data boxes >> set style fill solid 1.0 >> set boxwidth 0.95 relative >> plot "temp1.dat" u 1:2 w boxes >> ********************************** >> >> where the data temp1.dat is: >> ================================== >> 1 7.5 >> 2 5.8 >> 3 7.9 >> 4 4.2 >> 5 5.0 >> 6 7.7 >> ================================= >> >> I asked this question before but didn't get an answer. I would be very >> happy about any hints! >> >> Dietrich >> >> >> >> -- >> >> >> Priv.-Doz. Dr. phil. Dietrich Oberwittler >> >> Max-Planck-Institut für ausländisches und internationales Strafrecht - Abteilung Kriminologie >> >> Max Planck Institute for Foreign and International Criminal Law - Department of Criminology >> >> Guenterstalstrasse 73, D-79100 Freiburg i.Br. (Germany) >> Tel. ++49 761 7081 219, Fax ++49 761 7081 294 >> institute: http://www.mpicc.de/ personal: http://www.mpicc.de/ww/de/pub/home/oberwittler.htm >> >> >> >> ------------------------------------------------------------------------------ >> Precog is a next-generation analytics platform capable of advanced >> analytics on semi-structured data. The platform includes APIs for building >> apps and a phenomenal toolset for data science. Developers can use >> our toolset for easy data analysis & visualization. Get a free account! >> http://www2.precog.com/precogplatform/slashdotnewsletter >> _______________________________________________ >> gnuplot-info mailing list >> gnu...@li... >> https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info |
|
From: Mauricio G. <ga...@fc...> - 2007-08-14 20:54:18
|
Daniel You will find one example (in the page below) that will help you http://www2.prudente.unesp.br/dcartog/galo/gnuplot/gnu_exemplos3.htm Regards Mauricio Galo -------------------------------------------------- UNESP - Universidade Estadual Paulista / Dep. de Cartografia Rua Roberto Simonsen 305 / CEP 19060-900, Brasil Tel.: 18 32295325 / Fax.: 18 32231534 http://www.prudente.unesp.br/dcartog / ga...@fc... ---------------------------------------------------------------- > Hi guys, > > I have one question concerning polar plots. I want to plot wind direction > and concentration of dust in the air. Wind direction should be the degree > of > the circle and the concentration of dust the distance from the center. I > made a example with excen (aargh!) but am not able to do this with > gnuplot. > Can you give me a hint how to do this? > > Thank you in advance! > > Cheers > Daniel > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> > http://get.splunk.com/_______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |