Closed 153957 closed 9 years ago
Example of current output (Updated to c2fd7db):
Polar histograms!
Setting x (phi) limits does not work properly. The limits work, but the axes are messed up. Probably related to the current method used for shifting the r-axis.
~~Currently I made it so that the last bin also connects to the start point.
This works well when the bins go from 0 to 360, to get a fully connected line.
However, if the last bin is 270 a straight line is drawn from that value to the first bin.~~
The first and last bin are only connected if (bin_edges[-1] % 360) == (bin_edges[0] % 360)
..
I'm impressed! Beautiful.
The \newlength introduced in 444b0e64678c to shift y ticks labels works well, except when multiple of these figures are included in the same document. A newlength can not be defined twice.
A similar issue is mentioned in this question: http://tex.stackexchange.com/a/184993
I tried adding \let\ytickshift\relax
to to the script but then got an error that the polaraxis
envoirnment was unknown (or undefined). Very strange..
The error can be seen by trying to make demo
with 582e63c.
The \ytickshift
problem and the inconsistent xlabel placements are fixed!
Add polar plot options.
Extras:
Todo:
Work properly when x limits are settick align=outside
axislabels