comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: axis: color and fonts - how to change it?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: axis: color and fonts - how to change it? [message #15745] Thu, 10 June 1999 00:00
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Harald Osten wrote:

> Hi,
>
> becasue I need a white background for a shade_surface-plot I have to change
> the color of the axis to black. How can I do this? I wasn't successful with
> setting the !P.Color, neither with something like

Try in your idl_Startup file:
DEVICE,DECOMPOSED=0
!p.background=255
!p.color=0


R.Bauer
Re: axis: color and fonts - how to change it? [message #15753 is a reply to message #15745] Wed, 09 June 1999 00:00 Go to previous message
Harald von der Osten- is currently offline  Harald von der Osten-
Messages: 15
Registered: February 1999
Junior Member
Hi David,


I just did it via:


...

tvlct,255,255,255,!P.BACKGROUND

!x.tickname=['!17 0m', '10m', '20m', '30m', '40m', '50m'] & !x.ticks=5

shade_surf, r, ax=45, az=25, zrange=[0,6], font= -3, charsize=3.0
...

maybe this way of doing it is very shocking for a specialist like you... Well, in
this example font must be < n, and is independent of n (I don't understand it, but
... it works)


There is just a last question I am fighting with it since hours:

How can I scale the shade_surface-plot in the z-direction? I am not happy with
SCALE3D (no effect) etc and with the zrange-keyword. With zrange the plot looks fine
if you select in this option a wider range as it is necessary for the plot itself,
but the z-axis is too long. I dind't find any option to reduce it's length without
cutting the data. Just to reduce the ysize of the window is not a very fine method...

Thanks again for your effort!!

Harald
Re: axis: color and fonts - how to change it? [message #15754 is a reply to message #15753] Wed, 09 June 1999 00:00 Go to previous message
Harald von der Osten- is currently offline  Harald von der Osten-
Messages: 15
Registered: February 1999
Junior Member
Hi David,

David Fanning wrote:

> Harald Osten (hvdosten@ludwigsburg.netsurf.de) writes:
>
>
>> And there is no reaction in setting !P.FONT to zero, or to 1 or to... Isn't
>> it possible to change the axis' fonts?
>
> Something is *seriously* wrong with your IDL! You aren't
> trying to set a system variable and have the same keyword
> set on the Shade_Surf command, are you?

I have tried many things, but all with the same result: Font > 0 no changes at
all (the text is not orientated, looking like a typewriter-font), Font < 0 : text
is orientated, other font as before, but not changing between 0, ..., 29. Looking
a little better, but it is a very very thin font.

Is this a bug of IDL5.0 (OS: Linux), or have I forgotten something diuring the
installation process?

Thank you for your last tip!!

Best wishes,
Harald
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL vs PV-WAVE
Next Topic: Density contour curves

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Nov 28 09:03:30 PST 2025

Total time taken to generate the page: 0.01478 seconds