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

Home » Public Forums » archive » in multiplot to have common xaxis
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: in multiplot to have common xaxis [message #93704 is a reply to message #93703] Tue, 04 October 2016 02:33 Go to previous messageGo to previous message
gunvicsin11 is currently offline  gunvicsin11
Messages: 93
Registered: November 2012
Member
On Tuesday, October 4, 2016 at 2:16:52 PM UTC+5:30, Helder wrote:
> On Tuesday, October 4, 2016 at 10:34:06 AM UTC+2, sid wrote:
>> Hi,
>> I need to plot time vs four other parameters. Xaxis will be time. So I am using the multiplot.pro for this purpose. But i want only once the Xaxis value to be displayed for the bottommost plot.
>>
>> How do we do that, can anybody give some tips.
>>
>> thanks
>
> Have a look at David's gallery:
> http://www.idlcoyote.com/gallery/index.html
> Look for ladder plot. That might be what you're looking for. If not, then you must explain better how it should look like.
>
> In general you are looking at the "overplot"-ing. This is ok as long as the 4 vars have similar y values. Here is an example in FG:
>
> pp = plot(/test)
> ppr = pp.xrange
> xx = findgen(201)
> yy = sin(!pi*xx/100.0)
> op = plot(xx,yy,'r',overplot=pp)
>
> Cheers,
> Helder

I have different xaxis ranges say for example
plot1 x=[14.2,14.4,14.6,14.8]
y=[1.2e8,1.3e8,1.4e8,1.5e8]

plot2 x=[14.0,14.1,14.2,14.3,14.4,14.5]
y=[10,20,30,40,50,60]

I need to put both plot1 and plot2 as multiplot with one xaxis.
thanks
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: hist_nd to resample point data to a grid
Next Topic: for loop problem for beginner

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

Current Time: Thu Oct 09 21:09:53 PDT 2025

Total time taken to generate the page: 0.16168 seconds