[ncl-talk] boxplot second Y axis

Vanúcia Schumacher vanucia-schumacher at hotmail.com
Tue Nov 13 19:41:19 MST 2018


Sorry, but I'm not able to generate panel plots with these modifications.
The right Y-axis is not generated, or becomes a mess.

Please find attached the data to re-create this example.

Thank you for the advance
________________________________
De: Adam Phillips <asphilli at ucar.edu>
Enviado: terça-feira, 13 de novembro de 2018 20:07
Para: Vanúcia Schumacher
Cc: Ncl-talk
Assunto: Re: [ncl-talk] boxplot second Y axis

Hi Vanúcia,
Thank you for sending your data and an easy to run script so I could quickly try things out. I've modified your script to perform a manual overlay of the two boxplots on one another, as well as creating a new boxplot function where the right hand Y-axis border and tick marks are turned on. (I copied the boxplot function from shea_util.ncl, commented out lines 106/108, and saved the function as boxplot2.)

I've attached a modified version of your script, the output graphic and the slightly modified boxplot function. If you have any further questions let ncl-talk know.
Adam

On Mon, Nov 12, 2018 at 5:05 PM Vanúcia Schumacher <vanucia-schumacher at hotmail.com<mailto:vanucia-schumacher at hotmail.com>> wrote:
Hi

I'm trying to plot a boxplot with two Y axes, but I can not fix the right axis.
Attached is my script and the data.

The data has 36 rows and 14 columns, the one.txt data, I want to plot non-missing data with the same Y axis on the left side.

The file data: two.txt, I wish to plot on the right Y axis, with the same X axis of the first file (one.txt).

I do not know if it will be possible to create this plot, if anyone has any suggestions on how to proceed, I  will be grateful.
_______________________________________________
ncl-talk mailing list
ncl-talk at ucar.edu<mailto:ncl-talk at ucar.edu>
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk


--
Adam Phillips
Associate Scientist,  Climate and Global Dynamics Laboratory, NCAR
www.cgd.ucar.edu/staff/asphilli/<http://www.cgd.ucar.edu/staff/asphilli/>   303-497-1726

<http://www.cgd.ucar.edu/staff/asphilli>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181114/ac31ab69/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bias.anual.1.txt
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181114/ac31ab69/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bias.anual.2.txt
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181114/ac31ab69/attachment-0001.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boxplot1_new.ncl
Type: text/x-ncl
Size: 3861 bytes
Desc: boxplot1_new.ncl
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181114/ac31ab69/attachment.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rsme.anual.1.txt
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181114/ac31ab69/attachment-0002.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rsme.anual.2.txt
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181114/ac31ab69/attachment-0003.txt>


More information about the ncl-talk mailing list