| Re: Y2 axis title orientation [message #74753 is a reply to message #74667] |
Mon, 31 January 2011 06:57  |
pgrigis
Messages: 436 Registered: September 2007
|
Senior Member |
|
|
On Jan 29, 7:31 am, Jonathan <jonat...@naic.edu> wrote:
> To Paolo:
> Your example shows exactly the problem I am talking about. Both axis
> titles have their baselines on the right. My routine puts the baseline
> on the left for the Y2 title.
What do you mean as "baseline"? I see one title on the right
of the axis, and one title on the left of the axis, isn't that
what you wanted? If not what is it you need?
Ciao,
Paolo
>
> To David:
> You are certainly correct. You need to write the Y2TITLE command as a
> procedure (comma, not parens). I had originally written it as a
> function with the hope of finding a way of embedding it in a YTITLE
> keyword. So the command should have read:
>
> YTITLE, '5.0*COS(2!4p!3x/45 + 0.6)'
>
> I have done some further testing, and so far it works with many ways I
> apply a Y2 axis, including on a PostScript device.
>
> --Jonathan
>
> On Jan 28, 3:24 pm, David Fanning <n...@dfanning.com> wrote:
>
>
>
>
>
>
>
>> Jonathan writes:
>>> Today, I finally wrote a routine to correct this. I do not promise
>>> that it is perfect, but I hope it is a step in the right direction,
>>> and that with input from users of this group we can finally make a
>>> usable y2 axis title routine.
>
>> It would be more perfect if the example given in the
>> documentation header actually worked. :-)
>
>> Cheers,
>
>> David
>> --
>> David Fanning, Ph.D.
>> Fanning Software Consulting, Inc.
>> Coyote's Guide to IDL Programming:http://www.idlcoyote.com/
>> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
|