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

Home » Public Forums » archive » Re: combine subsections within xlabels
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: combine subsections within xlabels [message #75432 is a reply to message #75431] Wed, 09 March 2011 08:17 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
ele writes:

> I'd like to plot two subsections from the x-axis straight after
> eachother, say from 0 - 3 and from 8 - 14, ignorring the gap from 3 to
> 8 completly.
>
> I have the label (wavelength) information as index in wl with 157
> elements
>
> plot, wl, lib[*,0]
>
> is it possible to force the plot somehow to ignor plotting and
> labeling 3 to 8 on the x-axis

Set the values you don't want to plot to !Values.F_NAN.
The labeling you may have to specify yourself. You could
write a tick formatting function that returned null strings
for values between 3 and 8.

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.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: readcol not reading all lines
Next Topic: Merging Postcript files

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

Current Time: Wed Oct 08 15:48:47 PDT 2025

Total time taken to generate the page: 0.00449 seconds