<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Hi Jason,<br>
<br>
you can use the <b>where</b> function to select the highest max
value of y0 or GCD0.<br>
<br>
<font face="monospace"> trymin = 0.<br>
trymax = where(max(y0) .gt. max(GCD0), max(y0), max(GCD0))<br>
trymin2 = trymin<br>
trymax2 = trymax<br>
</font><br>
<br>
-Karin<br>
<br>
<div class="moz-cite-prefix">Am 16.12.21 um 23:42 schrieb Herb,
Jason via ncl-talk:<br>
</div>
<blockquote type="cite"
cite="mid:BL3PR04MB8075C65A4025060B5C97577ECE779@BL3PR04MB8075.namprd04.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
Hello All,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
I have a gsn_csm_xy2 plotting script where trymin set to "0" for
both right and left axis, so that will start off the same. Given
each file has a different maximum for each data column, how do I
get both the right and left axises to match for the highest
value of the two data columns? script is attached<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
Thanks,
<div>Jason</div>
<br>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
ncl-talk mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ncl-talk@mailman.ucar.edu">ncl-talk@mailman.ucar.edu</a>
List instructions, subscriber options, unsubscribe:
<a class="moz-txt-link-freetext" href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></pre>
</blockquote>
<br>
</body>
</html>