Re: line plot with data of different intervals

From: Adam Phillips <asphilli_at_nyahnyahspammersnyahnyah>
Date: Wed Jun 23 2010 - 20:36:39 MDT

Hi Yongzuo,
It can, just make sure the specified x-coordinates passed into
gsn_add_text are in the same range as the x-coordinates passed into
gsn_xsm_xy when plotting the 1-h data.... Adam

> Adam,
>
> Thanks for your reply.
>
> I will use the overlay procedure for 1-h and 3-h interval data.
>
> Can gsn_add_polyline add 3-h data after 1-h data is already drawn?
>
> The interpolation will not be used.
>
> Yongzuo
>
> ________________________________________
> From: Adam Phillips [asphilli@ucar.edu]
> Sent: Wednesday, June 23, 2010 10:03 AM
> To: Li, Yongzuo
> Cc: ncl-talk@ucar.edu; Du, Ningzhu
> Subject: Re: line plot with data of different intervals
>
> Hi Yongzuo,
> You didn't provide enough information for us to diagnose the issue. Do you
> want to overlay the 1 hour and 3 hourly data (in that case you would want
> to use the overlay procedure)
>
> Or do you only have 4 timesteps and the 2nd xy plot isn't being drawn
> because your middle 2 points are missing (In that case NCL will not
> connect the 1st and 4th points. You can interpolate between those points
> if you want the line to be drawn. Alternatively, do you want to draw
> markers instead of lines, if so set xyMarkLineMode = "Markers")...
>
> If the above doesn't help, please provide the group with more
> information..
> Adam
>
>
>> Hi,
>>
>> I have two temperature data sets.
>>
>> One is 1-hour interval. The other is 3-hour interval.
>>
>> How can I plot them at one frame?
>>
>> I can plot data one without problem.
>>
>> For second data, I set
>>
>> y(1,0) = 5.
>> y(1,1) = -999 (missing)
>> y(1,2) = -999 (missing)
>> y(1,3) = 7.8
>>
>> Nothing is coming out for second data.
>>
>> Yongzuo
>>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Jun 23 20:36:45 2010

This archive was generated by hypermail 2.1.8 : Thu Jun 24 2010 - 14:10:27 MDT