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

Home » Public Forums » archive » Is there a way to plot with axis breaks in IDL?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Is there a way to plot with axis breaks in IDL? [message #70620 is a reply to message #70458] Tue, 27 April 2010 19:45 Go to previous messageGo to previous message
biophys is currently offline  biophys
Messages: 68
Registered: July 2004
Member
Ok, for those who are interested. I finally had sometime to hook up
one of those old ide drives and dig out the file.

I added a new idldoc comment header in rst format and fixed a "ghost"
problem with PS output. Basically I use a plot command with no breaks
to determine the plot region and generate proper (x/y) titles. Then I
have to erase the plot except those titles with another plot using
background color. It works perfect for direct graphics but there will
be "ghost" tick labels in PS output due to none perfect overlapping. I
fixed it by patching with small background filled rectangles. It is
not elegant but works for me so far.

Another issue is that ticklen can be very different when you have
uneven plotting segments. It seems that the ticklen is proportional to
the size of the plotting segment. I can scale the (major) ticklen with
xticklen/yticklen keyword(s). However, the minor ticks does not scale
accordingly.

Please visit the following site for source and documents and feel free
to mature the code as you see fit. I am not sure how long this server
will last since my boss had got another job a while ago. It would be
nice someone can help hosting the file. Comments and suggestions are
definitely welcome.

http://tinyurl.com/2aflnn2

Best,
Yun

On Apr 12, 10:11 am, mankoff <mank...@gmail.com> wrote:
> On Apr 11, 12:17 am, biophys <biop...@gmail.com> wrote:
>
>> I recall I did something without using xyouts years ago when I was TA-
>> ing a physics class. It can do multiple breaks along both x and y axis
>> as well as overplot etc. I can dig it out from my old hard drive if
>> people are interested.
>
>> Cheers,
>> Yun
>
> I'm interested.
>
>   -k.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: image contrast, bias a la DS9
Next Topic: Re: ms2gt MODIS reprojection toolkit

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

Current Time: Sun Oct 12 14:43:59 PDT 2025

Total time taken to generate the page: 1.35955 seconds