3D axis labels orientation



Le samedi 02 août 2008 à 22:07 +0200, Mariusz Adamski a écrit :
Hi,

I had some issues with labels padding, but i think i solved them
finally. Now the axes are drawn horizontally when the axis angle <45
degrees and vertically when it's >45 degrees. It's symmetric now, but
maybe e.g. 90 +/- 10 would be a better choice. You can also substitute

  style->text_layout.angle = (angle > 45. && angle < 135.)? 90. : 0.;

with

  style->text_layout.angle = (angle < 90)? angle : angle + 180;

which draws labels parallel to the axis.

Jody, Emmanuel, and all others: any comment or idea?

Looks like we now have a decent support for surface plots in goffice :-)
Btw, contour plots now have their own family since the axis set is not
the same than for surfaces.

Cheers,
Jean




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]