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 #77066 is a reply to message #30967] Tue, 02 August 2011 09:06 Go to previous messageGo to previous message
Dave[5] is currently offline  Dave[5]
Messages: 11
Registered: July 2010
Junior Member
Hello, I am trying to accomplish this same task, but I'm not having any luck adapting the approach outlined here.

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?

Thanks,
Dave
[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: Fri Oct 10 21:17:54 PDT 2025

Total time taken to generate the page: 0.15422 seconds