Fanning Software Consulting

Z Title Marches to a Different Drummer

Facebook Twitter RSS Google+

QUESTION: I've noticed that the z-axis label in three-dimensional function graphics often (always?) is rendered parallel to the XY plane, rather than being oriented vertically. This isn't at all what I want, and I can't seem to fix it by setting the TEXT_ORIENTATION property for the axis. As a work-around, I've been omitting the z-axis title and filling in the text with a Text object, which is an awful kludge. This problem cropped up for me with Plot3D and Volume function graphics commands in IDL 8.2. Is there anything that can be done to fix this?

Here is an example of what I mean. I've made the Z axis red so you can see what I mean.

The Z axis title is pointing in the
wrong direction in IDL 8.2.
The Z axis title is pointing in the wrong direction in IDL 8.2.
 

ANSWER: No, there is no way to fix this axis label problem. This is a known bug in IDL 8.2. It is reported that it will be fixed in the next update to IDL.

Update: This has been fixed in IDL 8.2.1.

But, now, in IDL 8.2.3 the Z label doesn't rotate with the plot. This is another acknowledged bug that is expected to be fixed in an updated version of IDL.

Version of IDL used to prepare this article: IDL 8.2.

Written: 11 September 2012
Last Updated: 30 July 2013.