gnuplot / polar (E)
not so FAQ |
About Polar Coordinateto plot data in the 2-dimensional polar coordinate. In the polar coordinate the data to be plotted are similar to the Let’s think about the following two-dimensional data, ![]() We plot this in the polar coordinate. gnuplot> set polar dummy variable is t for curves gnuplot> set angles degrees gnuplot> plot "datafile.dat" with lines ![]() Now, adjust the ranges of X and Y, and make the graph square. gnuplot> set size square gnuplot> set xrange [-1:1] gnuplot> set yrange [-1:1] gnuplot> replot ![]() to draw lines from data-points to the origin.In the above example, each (angle, radius) point gnuplot> plot "datafile.dat" with impulses ![]() to draw grids. There are two kinds of grid in the polar coordinate. The first one gnuplot> set grid polar ![]() The circular grids depend on both the major tics of X and Y axes. gnuplot> set xtics 0.5 gnuplot> set ytics 0.3 ![]() |