Large dots in Postscript output [message #33876] |
Wed, 05 February 2003 07:37  |
Irene Dumkow
Messages: 5 Registered: October 2000
|
Junior Member |
|
|
I am feeling a little like Lady Macbeth: Out, Out damned spot
My problem: I am plotting data in the range 0 to 10000 and IDL is giving
me tickmarks at 2000, 4000, 6000, 8000 and 10000. I have no problem with
that, except that when using Postscript/Device - Fonts, IDL plots it as
2x10^4, etc with the x being one large dot. Can somebody explain to me
why IDL does that or has a good and or easy solution to at least shrink
that dot or transform it into an x? Apart from getting the tickvalues
via gettickv and putting it together by hand.
I even used ps_show_fonts trying to figure out, what IDL might use and
saw that character 183 is significantly smaller, if one uses the
/isolatin1 option. But that seems to work only for the sample fonts, not
for my example.
I hope somebody can shed some light!
Irene
PS: As these are intensity data, I could always use the 'arbitary units'
option, but I would really like to know, why IDL does this.
|
|
|
Re: Large dots in Postscript output [message #34024 is a reply to message #33876] |
Sat, 15 February 2003 05:40  |
R.Bauer
Messages: 1424 Registered: November 1998
|
Senior Member |
|
|
Irene Dumkow wrote:
> I am feeling a little like Lady Macbeth: Out, Out damned spot
>
> My problem: I am plotting data in the range 0 to 10000 and IDL is giving
> me tickmarks at 2000, 4000, 6000, 8000 and 10000. I have no problem with
> that, except that when using Postscript/Device - Fonts, IDL plots it as
> 2x10^4, etc with the x being one large dot. Can somebody explain to me
> why IDL does that or has a good and or easy solution to at least shrink
> that dot or transform it into an x? Apart from getting the tickvalues
> via gettickv and putting it together by hand.
> I even used ps_show_fonts trying to figure out, what IDL might use and
> saw that character 183 is significantly smaller, if one uses the
> /isolatin1 option. But that seems to work only for the sample fonts, not
> for my example.
>
> I hope somebody can shed some light!
>
> Irene
>
> PS: As these are intensity data, I could always use the 'arbitary units'
> option, but I would really like to know, why IDL does this.
Dear Irene,
you can write yourself a function which is used to label the output on
the axes.
For example:
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_source/idl _work/fr_lib/emensch.pro
plot,findgen(20000) ,xtickformat='emensch'
regards
Reimar
--
Reimar Bauer
Institut fuer Stratosphaerische Chemie (ICG-I)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
------------------------------------------------------------ -------
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
============================================================ =======
|
|
|