[ncl-talk] XY line plots with lines and markers

Debasish Hazra debasish.hazra5 at gmail.com
Wed Feb 14 11:30:56 MST 2018


Thanks Rick, it worked.

Debasish

On Tue, Feb 13, 2018 at 5:31 PM, Rick Brownrigg <brownrig at ucar.edu> wrote:

> I think so...
>
> On Tue, Feb 13, 2018 at 11:41 AM, Debasish Hazra <
> debasish.hazra5 at gmail.com> wrote:
>
>> Thanks Rick. So
>>
>> res at xyMarkLineModes = (/"Lines","Markers","Lines","Lines","Markers"/)
>>
>> this will solve the problem ?
>>
>> Debasish
>>
>> On Tue, Feb 13, 2018 at 1:26 PM, Rick Brownrigg <brownrig at ucar.edu>
>> wrote:
>>
>>> Hi,
>>>
>>> If I am reading your script right, you have model2 associated with
>>> filename5 and are unpacking the strings into aot5 and ultimately into
>>> data(4,:)?
>>>
>>> If that is correct, then the docs for xyMarkLineModes say:
>>>
>>> An array of NhlTMarkLineMode
>>> <http://ncl.ucar.edu/Document/HLUs/Classes/Workstation.shtml#NhlTMarkLineMode>
>>> enumerations to use when drawing the corresponding coordinate pair arrays
>>> in the associated data object. If there are more coordinate pair arrays
>>> than the number of elements in this resource, the remaining coordinate pair
>>> arrays will be drawn using the value of the *xyMarkLineMode*
>>> <http://ncl.ucar.edu/Document/Graphics/Resources/xy.shtml#xyMarkLineMode>
>>> resource.
>>>
>>> Default: NULL
>>>
>>> You've given along two values for xyMarkLineModes, but have 5 data
>>> channels;  the default for xyMarkLineMode is "Lines"
>>>
>>> Hope that helps...
>>> Rick
>>>
>>> On Tue, Feb 13, 2018 at 10:59 AM, Debasish Hazra <
>>> debasish.hazra5 at gmail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>>  I am trying to use xy-plot in NCL that coniants lines and markers. All
>>>> inputs are in ascii (attached). I am trying to use two different markers
>>>> for "obs" and "model2" lines as there are missing values in them. I tried
>>>> to use
>>>>
>>>>    res at xyMonoMarkerColor = False
>>>>     res at xyMarkerColors   := (/"black","red"/)
>>>>
>>>> but I am not able to get "model2" markers in the figure. Any help is
>>>> appreciated.
>>>>
>>>> Thanks.
>>>> Debasish
>>>>
>>>> _______________________________________________
>>>> ncl-talk mailing list
>>>> ncl-talk at ucar.edu
>>>> List instructions, subscriber options, unsubscribe:
>>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180214/20034d37/attachment.html>


More information about the ncl-talk mailing list