Re: Plotting only significant values

From: Alan Brammer <abrammer_at_nyahnyahspammersnyahnyah>
Date: Fri Feb 22 2013 - 07:10:59 MST

Nkese,
        Short and quick reply but I think you want a where statement rather than an if.

        http://www.ncl.ucar.edu/Document/Functions/Built-in/where.shtml

Good luck,
        Alan

##############################
Alan Brammer,
PhD Student,

Department of Atmospheric and Environmental Sciences,
University at Albany, State University of New York, Albany, NY, 12222
abrammer@albany.edu
##############################

On Feb 22, 2013, at 6:39 AM, Nkese Mc Shine <Nkese.McShine@sta.uwi.edu> wrote:

> Dear All,
>
> I performed a correlation on my data sets and then performed a significance test on it. However I would only like to plot the correlations that are significantly significant. I tried and if statement but it doesn't work. I get an error
>
> :Conditional statements (if and do while) require SCALAR logical values, see all and any functions
>
> Should I use a d statement instead? Can anyone help or suggest something where I went wrong?
>
> Attached is my script. Any help would be greatly appreciated.
>
>
>
> Regards,
> Nkese
>
> CONFIDENTIALITY: This email (including any attachments) may contain confidential, proprietary and/or privileged information. Any duplication, copying, distribution, dissemination, transmission, disclosure or use in any manner of this email (including any attachments) without the authorisation of the sender is strictly prohibited. If you receive this email (including any attachments) in error, please notify the sender and delete this email (including any attachments) from your system. Thank you. <hadsst2.ncl>_______________________________________________
> 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 Fri Feb 22 07:11:27 2013

This archive was generated by hypermail 2.1.8 : Fri Feb 22 2013 - 17:42:16 MST