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

Home » Public Forums » archive » Flipping and combining plots
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: Flipping and combining plots [message #77064 is a reply to message #30888] Tue, 02 August 2011 09:22 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Dave writes:

> I can plot my scatter plot easily enough, and I can plot a rotated histogram using:
>
> h = histogram(alog10(y),min=min(alog10(y)),max = max(alog10(y)), $
> binsize=best_bin(alog10(y)),loc=loc)
> t3d,/reset,/xyexch
> plot,10^loc,h,psym=10,/xlog,/t3d ;,pos=[0.05,0.05,0.9,0.99]
>
> The difficulty comes in when I uncomment the position keyword in the last plot statement. I'd like the scatter plot to take up ~70% of the plot window, but when I squeeze the histogram, it simply doesn't plot. The values listed here will plot almost the entire histogram, but as I begin increasing the pos[1] value (shrinking the histogram into the right side of the plot window), the histogram itself begins disappearing from the bottom of the plot. By the time I use
pos=[0.05,0.7,0.9,0.99] (my desired position values) I only get blank axes.
>
> Does anyone know why this happens, and how I can overcome it?

/NoClip?

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
Previous Topic: Re: multi-color (time-series) line plot
Next Topic: Eclipse

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

Current Time: Wed Oct 08 18:00:30 PDT 2025

Total time taken to generate the page: 0.00440 seconds