|
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 |