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

Home » Public Forums » archive » Large dots in Postscript output
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
Large dots in Postscript output [message #33876] Wed, 05 February 2003 07:37 Go to next message
Irene Dumkow is currently offline  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 Go to previous message
R.Bauer is currently offline  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
============================================================ =======
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: PNGs without X?
Next Topic: Re: X11 0.2.1,OpenGL and IDL object Graphics

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

Current Time: Wed Oct 08 13:44:54 PDT 2025

Total time taken to generate the page: 0.00644 seconds