<div dir="ltr">Hi Toni,<div>You should not need to call gsn_create_legend if you are using simple_legend_ndc. Thus, I would comment out that portion of the code. (Note too that gsn_create_legend returns a plot object that must be attached to a plot for the legend to be shown; I don't see where in your code that you are doing that. See legend example #8 here: <a href="https://www.ncl.ucar.edu/Applications/legend.shtml#ex8">https://www.ncl.ucar.edu/Applications/legend.shtml#ex8</a>.)</div><div><br></div><div>Assuming that the legend shown in your plot is being created by simple_legend_ndc, you have complete control over how the legend looks by adjusting the 3 resource lists as is shown in the documentation here:</div><div><a href="https://www.ncl.ucar.edu/Document/Functions/Shea_util/simple_legend_ndc.shtml">https://www.ncl.ucar.edu/Document/Functions/Shea_util/simple_legend_ndc.shtml</a><br></div><div><br></div><div>Specifically, see Example 2 for a complete list of all resources that are accepted by the procedure. In your coding you have some resources set that are not accepted by simple_legend_ndc (vpHeightF/vpWidthF, for example). To alter the spacing between the labels for instance, set:</div><div> gres@ItemSpacePercent = 1.</div><div>You will need to set many of the resources set in Example 2 to get your legend looking the way you want. This will likely take some trial and error on your part.</div><div>Adam</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Jul 30, 2018 at 12:45 PM Toni Klemm <<a href="mailto:toni-klemm@tamu.edu">toni-klemm@tamu.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">Hi Adam,<div><br></div><div>The legend now appears in the plot matrix, but it’s too large and overlaps with the other plots. I attached it again. </div><div><br></div><div>I tried to incorporate your suggestions as best I could, but I my script structure might be different from yours, so I might have done it wrong. I included my script below.</div><div><br></div><div>I used <font face="Courier">lgLabelFontHeightF</font>, <font face="Courier">vpWidthF</font>, and <font face="Courier">vpHeightF</font> at the end of the script to reduce the size but it didn’t work. I also set <font face="Courier">lgAutoManage = False</font> , just in case, but I still wasn’t able to change the size.</div><div><br></div><div>Thank you again for your help!</div><div><br></div><div>Toni</div><div><br></div><div><br></div><div><div><font face="Calibri"><b>Toni Klemm, Ph.D.<br></b>Postdoctoral Research Associate<br>Department of Ecosystem Science and Management<br>Texas A&M University, College Station, TX<br>Contributor at the <a href="http://www.eccforum.org" target="_blank">Early Career Climate Forum</a><br><a href="http://www.toni-klemm.de" target="_blank">www.toni-klemm.de</a> | <a href="http://twitter.com/toniklemm" target="_blank">@toniklemm</a></font></div><div><font face="Calibri"><br></font></div><div><img id="m_6960039825039830633A07177B7-D279-4C7D-9E4B-16EC885A7D6F" width="480" height="543" src="cid:D59F4C3A-34DA-4BC4-8791-EB363ED2F7C2"></div></div><div><br></div><div><div><br></div><div><div><font face="Courier">; Create time series plots of NPP stored in the 9 different functional groups in each climate zone</font></div><div><font face="Courier">; 9 groups per plot, 16 plots (zones) per matrix</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">; ---------------------------------------------------</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"</font></div><div><font face="Courier">load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"</font></div><div><font face="Courier">load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"</font></div><div><font face="Courier">load "~/NIFA/NCL_6.5.0_functions/simple_legend_ndc.ncl"</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">; ---------------------------------------------------</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">begin</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">RCP_list = [/"rcp_45","rcp_85"/]</font></div><div><font face="Courier">fs_list = [/"fs","nfs"/]</font></div><div><font face="Courier">model_list = [/"CCSM4","GFDL-ESM2M","HadGEM2-ES365","IPSL-CM5A-LR","MRI-CGCM3"/]</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">RCP_title = [/"RCP 4.5","RCP 8.5"/]</font></div><div><font face="Courier">fs_title = [/"Fire Suppr. on","Fire Suppr. off"/]</font></div><div><font face="Courier">model_title = [/"CCSM4","GFDL-ESM2M","HadGEM2-ES365","IPSL-CM5A-LR","MRI-CGCM3"/]</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">do h = 0, ListCount(RCP_list) - 1 </font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  do i = 0, ListCount(fs_list) - 1 </font></div><div><font face="Courier"><br></font></div><div><font face="Courier">    do j = 0, ListCount(model_list) - 1 </font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  ; ***********************************************</font></div><div><font face="Courier">  ; 1 - READ IN MC2 FILE</font></div><div><font face="Courier">  ; ***********************************************</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">    </span>print("")</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">      </span>print("~/NIFA/MC2/subset_climate_zones/" + RCP_list[h](0) + "/" + fs_list[i](0) + "/" + model_list[j](0))</font></div><div><font face="Courier">  print("1 - Read in files")</font></div><div><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"><font face="Courier">  </font></span></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"> </span>diri = "~/NIFA/MC2/subset_climate_zones/" + RCP_list[h](0) + "/" + fs_list[i](0) + "/" + model_list[j](0) + "/NPP_GROUPED/"</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  zone_01_f = addfile(diri + RCP_list[h](0) + "_" + fs_list[i](0) + "_" + model_list[j](0) + "_NPP_grouped_zone_01.nc","r")</font></div><div><font face="Courier">  zone_02_f = addfile(diri + RCP_list[h](0) + "_" + fs_list[i](0) + "_" + model_list[j](0) + "_NPP_grouped_zone_02.nc","r")</font></div><div><font face="Courier">  zone_03_f = addfile(diri + RCP_list[h](0) + "_" + fs_list[i](0) + "_" + model_list[j](0) + "_NPP_grouped_zone_03.nc","r")</font></div><div><font face="Courier">  zone_04_f = addfile(diri + RCP_list[h](0) + "_" + fs_list[i](0) + "_" + model_list[j](0) + "_NPP_grouped_zone_04.nc","r")</font></div><div><font face="Courier">  zone_05_f = addfile(diri + RCP_list[h](0) + "_" + fs_list[i](0) + "_" + model_list[j](0) + "_NPP_grouped_zone_05.nc","r")</font></div><div><font face="Courier">  zone_06_f = addfile(diri + RCP_list[h](0) + "_" + fs_list[i](0) + "_" + model_list[j](0) + "_NPP_grouped_zone_06.nc","r")</font></div><div><font face="Courier">  zone_07_f = addfile(diri + RCP_list[h](0) + "_" + fs_list[i](0) + "_" + model_list[j](0) + "_NPP_grouped_zone_07.nc","r")</font></div><div><font face="Courier">  zone_08_f = addfile(diri + RCP_list[h](0) + "_" + fs_list[i](0) + "_" + model_list[j](0) + "_NPP_grouped_zone_08.nc","r")</font></div><div><font face="Courier">  zone_09_f = addfile(diri + RCP_list[h](0) + "_" + fs_list[i](0) + "_" + model_list[j](0) + "_NPP_grouped_zone_09.nc","r")</font></div><div><font face="Courier">  zone_10_f = addfile(diri + RCP_list[h](0) + "_" + fs_list[i](0) + "_" + model_list[j](0) + "_NPP_grouped_zone_10.nc","r")</font></div><div><font face="Courier">  zone_11_f = addfile(diri + RCP_list[h](0) + "_" + fs_list[i](0) + "_" + model_list[j](0) + "_NPP_grouped_zone_11.nc","r")</font></div><div><font face="Courier">  zone_12_f = addfile(diri + RCP_list[h](0) + "_" + fs_list[i](0) + "_" + model_list[j](0) + "_NPP_grouped_zone_12.nc","r")</font></div><div><font face="Courier">  zone_13_f = addfile(diri + RCP_list[h](0) + "_" + fs_list[i](0) + "_" + model_list[j](0) + "_NPP_grouped_zone_13.nc","r")</font></div><div><font face="Courier">  zone_14_f = addfile(diri + RCP_list[h](0) + "_" + fs_list[i](0) + "_" + model_list[j](0) + "_NPP_grouped_zone_14.nc","r")</font></div><div><font face="Courier">  zone_15_f = addfile(diri + RCP_list[h](0) + "_" + fs_list[i](0) + "_" + model_list[j](0) + "_NPP_grouped_zone_15.nc","r")</font></div><div><font face="Courier">  zone_16_f = addfile(diri + RCP_list[h](0) + "_" + fs_list[i](0) + "_" + model_list[j](0) + "_NPP_grouped_zone_16.nc","r")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  ; ***********************************************</font></div><div><font face="Courier">  ; 2 - CREATE MATRIX PLOT</font></div><div><font face="Courier">  ; ***********************************************</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  print("2 - Create Plot Matrix")</font></div><div><font face="Courier"><br></font></div><div><span style="font-family:Courier">  diro = "~/NIFA/MC2/subset_climate_zones/time_series/NPP/all_zones_all_groups/"</span></div><div><font face="Courier">  filo = RCP_list[h](0) + "_" + fs_list[i](0) + "_" + model_list[j](0) + "_NPP_percentage_all_zones_all_groups_TEST_simple_legend_ndc"</font></div><div><font face="Courier">  </font></div><div><font face="Courier">  wks_type = "png"          ; plot file type</font></div><div><font face="Courier">  wks_type@wkWidth = 3500   ; width dimension</font></div><div><font face="Courier">  wks_type@wkHeight = 3500  ; height dimension</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  wks = gsn_open_wks(wks_type, diro + filo)</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  gsn_define_colormap(wks,"wgne15")     ; define colormap</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  ;*********************************************</font></div><div><font face="Courier">  ; PLOT MATRIX PARAMETERS</font></div><div><font face="Courier">  ;********************************************* </font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  res               = True</font></div><div><font face="Courier">  res@trYMinF       = 0<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">                                       </span>; min  y axis value</font></div><div><font face="Courier">  res@trYMaxF       = 100<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">                        </span> <span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"> </span>; max  y axis value</font></div><div><font face="Courier">  res@trXMinF       = 2015    <span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"> </span>; min  y axis value</font></div><div><font face="Courier">  res@trXMaxF       = 2100    <span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"> </span>; max  x axis value</font></div><div><font face="Courier">  res@tmXBMinorOn   = True <span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">                        </span>; turn off minor tickmarks</font></div><div><font face="Courier">  res@tmYLMinorOn   = True</font></div><div><font face="Courier">  res@tmXTOn        = False <span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">         </span>; turn off top tickmarks</font></div><div><font face="Courier">  res@tmYROn        = False <span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">                </span>; turn off right tickmarks</font></div><div><font face="Courier">  res@tmXTBorderOn  = False <span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">         </span>; turn off top axis</font></div><div><font face="Courier">  res@tmYRBorderOn  = False <span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">                </span>; turn off right axis</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  res@tiXAxisString = "Years" ; titles</font></div><div><font face="Courier">  res@tiYAxisString = "%"</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  res@tmYLLabelFontHeightF       = 0.03 ; set font heights</font></div><div><font face="Courier">  res@gsnRightStringFontHeightF  = 0.03</font></div><div><font face="Courier">  res@tiXAxisFontHeightF         = 0.03</font></div><div><font face="Courier">  res@tiYAxisFontHeightF         = 0.03</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  res@vpWidthF       = .8  ; change aspect ratio</font></div><div><font face="Courier">  res@vpHeightF      = .4</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  res@gsnDraw       = False ; don't draw or advance the frame</font></div><div><font face="Courier">  res@gsnFrame      = False </font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">    </span>res@xyDashPattern  = 0<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">           </span>; Make curves all solid</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>res@xyLineColors := (/"blue","red","orange","black","green","pink","brown","purple","grey"/) ; 9 different colors</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">      </span>res@xyLineThicknesses = (/10,10,10,10,10,10,10,10,10/)<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">            </span>; make second line thicker</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><div><br></div><div>  plot = new(18,graphic)                ; create 18-plot array</div><div><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span></div><div>  x    = (/0,1/) ; arrays for fack axis</div><div>  y    = (/0,0/)</div><div><br></div><div>  do gg = 0,15</div><div>    plot(gg) = gsn_csm_xy(wks,x,y,res)</div><div>  end do</div><div><br></div></font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">        </span>;*********************************************</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>; READ IN PLOT VARIABLES</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"> </span>;********************************************* </font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  print("3 - Read in plot variables")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>year = zone_01_f->year</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">     </span>units = "%"</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"> </span>data_01 = new((/9,dimsizes(year)/),float)<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">         </span>; data array for 9 variables and 85 years of record (2015-2099)</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_02 = new((/9,dimsizes(year)/),float)<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">         </span>; data array for 9 variables and 85 years of record (2015-2099)</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_03 = new((/9,dimsizes(year)/),float)<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">         </span>; data array for 9 variables and 85 years of record (2015-2099)</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_04 = new((/9,dimsizes(year)/),float)<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">         </span>; data array for 9 variables and 85 years of record (2015-2099)</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_05 = new((/9,dimsizes(year)/),float)<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">         </span>; data array for 9 variables and 85 years of record (2015-2099)</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_06 = new((/9,dimsizes(year)/),float)<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">         </span>; data array for 9 variables and 85 years of record (2015-2099)</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_07 = new((/9,dimsizes(year)/),float)<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">         </span>; data array for 9 variables and 85 years of record (2015-2099)</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_08 = new((/9,dimsizes(year)/),float)<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">         </span>; data array for 9 variables and 85 years of record (2015-2099)</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_09 = new((/9,dimsizes(year)/),float)<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">         </span>; data array for 9 variables and 85 years of record (2015-2099)</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_10 = new((/9,dimsizes(year)/),float)<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">         </span>; data array for 9 variables and 85 years of record (2015-2099)</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_11 = new((/9,dimsizes(year)/),float)<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">         </span>; data array for 9 variables and 85 years of record (2015-2099)</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_12 = new((/9,dimsizes(year)/),float)<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">         </span>; data array for 9 variables and 85 years of record (2015-2099)</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_13 = new((/9,dimsizes(year)/),float)<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">         </span>; data array for 9 variables and 85 years of record (2015-2099)</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_14 = new((/9,dimsizes(year)/),float)<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">         </span>; data array for 9 variables and 85 years of record (2015-2099)</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_15 = new((/9,dimsizes(year)/),float)<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">         </span>; data array for 9 variables and 85 years of record (2015-2099)</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_16 = new((/9,dimsizes(year)/),float)<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">         </span>; data array for 9 variables and 85 years of record (2015-2099)</font></div><div><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"><font face="Courier">  </font></span></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">      </span>print("3a   - Zone 1")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">     </span>data_01(0,:) = zone_01_f->NPP_C3G_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_01(1,:) = zone_01_f->NPP_C3S_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_01(2,:) = zone_01_f->NPP_C4G_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_01(3,:) = zone_01_f->NPP_C4S_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_01(4,:) = zone_01_f->NPP_OTHER_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">        </span>data_01(5,:) = zone_01_f->NPP_SF_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_01(6,:) = zone_01_f->NPP_SW_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_01(7,:) = zone_01_f->NPP_TF_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_01(8,:) = zone_01_f->NPP_TW_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>ALL_data_01<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">       </span> = zone_01_f->NPP_ALL_annual</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">       </span>print("3a   - Zone 2")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">     </span>data_02(0,:) = zone_02_f->NPP_C3G_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_02(1,:) = zone_02_f->NPP_C3S_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_02(2,:) = zone_02_f->NPP_C4G_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_02(3,:) = zone_02_f->NPP_C4S_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_02(4,:) = zone_02_f->NPP_OTHER_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">        </span>data_02(5,:) = zone_02_f->NPP_SF_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_02(6,:) = zone_02_f->NPP_SW_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_02(7,:) = zone_02_f->NPP_TF_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_02(8,:) = zone_02_f->NPP_TW_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>ALL_data_02<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">       </span> = zone_02_f->NPP_ALL_annual</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">       </span>print("3a   - Zone 3")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">     </span>data_03(0,:) = zone_03_f->NPP_C3G_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_03(1,:) = zone_03_f->NPP_C3S_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_03(2,:) = zone_03_f->NPP_C4G_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_03(3,:) = zone_03_f->NPP_C4S_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_03(4,:) = zone_03_f->NPP_OTHER_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">        </span>data_03(5,:) = zone_03_f->NPP_SF_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_03(6,:) = zone_03_f->NPP_SW_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_03(7,:) = zone_03_f->NPP_TF_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_03(8,:) = zone_03_f->NPP_TW_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>ALL_data_03<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">       </span> = zone_03_f->NPP_ALL_annual</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">       </span>print("3a   - Zone 4")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">     </span>data_04(0,:) = zone_04_f->NPP_C3G_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_04(1,:) = zone_04_f->NPP_C3S_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_04(2,:) = zone_04_f->NPP_C4G_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_04(3,:) = zone_04_f->NPP_C4S_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_04(4,:) = zone_04_f->NPP_OTHER_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">        </span>data_04(5,:) = zone_04_f->NPP_SF_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_04(6,:) = zone_04_f->NPP_SW_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_04(7,:) = zone_04_f->NPP_TF_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_04(8,:) = zone_04_f->NPP_TW_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>ALL_data_04<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">       </span> = zone_04_f->NPP_ALL_annual</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">       </span>print("3a   - Zone 5")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">     </span>data_05(0,:) = zone_05_f->NPP_C3G_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_05(1,:) = zone_05_f->NPP_C3S_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_05(2,:) = zone_05_f->NPP_C4G_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_05(3,:) = zone_05_f->NPP_C4S_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_05(4,:) = zone_05_f->NPP_OTHER_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">        </span>data_05(5,:) = zone_05_f->NPP_SF_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_05(6,:) = zone_05_f->NPP_SW_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_05(7,:) = zone_05_f->NPP_TF_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_05(8,:) = zone_05_f->NPP_TW_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>ALL_data_05<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">       </span> = zone_05_f->NPP_ALL_annual</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">       </span>print("3a   - Zone 6")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">     </span>data_06(0,:) = zone_06_f->NPP_C3G_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_06(1,:) = zone_06_f->NPP_C3S_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_06(2,:) = zone_06_f->NPP_C4G_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_06(3,:) = zone_06_f->NPP_C4S_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_06(4,:) = zone_06_f->NPP_OTHER_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">        </span>data_06(5,:) = zone_06_f->NPP_SF_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_06(6,:) = zone_06_f->NPP_SW_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_06(7,:) = zone_06_f->NPP_TF_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_06(8,:) = zone_06_f->NPP_TW_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>ALL_data_06<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">       </span> = zone_06_f->NPP_ALL_annual</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">       </span>print("3a   - Zone 7")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">     </span>data_07(0,:) = zone_07_f->NPP_C3G_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_07(1,:) = zone_07_f->NPP_C3S_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_07(2,:) = zone_07_f->NPP_C4G_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_07(3,:) = zone_07_f->NPP_C4S_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_07(4,:) = zone_07_f->NPP_OTHER_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">        </span>data_07(5,:) = zone_07_f->NPP_SF_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_07(6,:) = zone_07_f->NPP_SW_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_07(7,:) = zone_07_f->NPP_TF_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_07(8,:) = zone_07_f->NPP_TW_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>ALL_data_07<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">       </span> = zone_07_f->NPP_ALL_annual</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">       </span>print("3a   - Zone 8")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">     </span>data_08(0,:) = zone_08_f->NPP_C3G_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_08(1,:) = zone_08_f->NPP_C3S_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_08(2,:) = zone_08_f->NPP_C4G_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_08(3,:) = zone_08_f->NPP_C4S_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_08(4,:) = zone_08_f->NPP_OTHER_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">        </span>data_08(5,:) = zone_08_f->NPP_SF_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_08(6,:) = zone_08_f->NPP_SW_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_08(7,:) = zone_08_f->NPP_TF_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_08(8,:) = zone_08_f->NPP_TW_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>ALL_data_08<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">       </span> = zone_08_f->NPP_ALL_annual</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">       </span>print("3a   - Zone 9")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">     </span>data_09(0,:) = zone_09_f->NPP_C3G_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_09(1,:) = zone_09_f->NPP_C3S_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_09(2,:) = zone_09_f->NPP_C4G_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_09(3,:) = zone_09_f->NPP_C4S_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_09(4,:) = zone_09_f->NPP_OTHER_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">        </span>data_09(5,:) = zone_09_f->NPP_SF_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_09(6,:) = zone_09_f->NPP_SW_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_09(7,:) = zone_09_f->NPP_TF_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_09(8,:) = zone_09_f->NPP_TW_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>ALL_data_09<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">       </span> = zone_09_f->NPP_ALL_annual</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">       </span>print("3a   - Zone 10")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">    </span>data_10(0,:) = zone_10_f->NPP_C3G_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_10(1,:) = zone_10_f->NPP_C3S_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_10(2,:) = zone_10_f->NPP_C4G_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_10(3,:) = zone_10_f->NPP_C4S_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_10(4,:) = zone_10_f->NPP_OTHER_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">        </span>data_10(5,:) = zone_10_f->NPP_SF_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_10(6,:) = zone_10_f->NPP_SW_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_10(7,:) = zone_10_f->NPP_TF_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_10(8,:) = zone_10_f->NPP_TW_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>ALL_data_10<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">       </span> = zone_10_f->NPP_ALL_annual</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">       </span>print("3a   - Zone 11")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">    </span>data_11(0,:) = zone_11_f->NPP_C3G_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_11(1,:) = zone_11_f->NPP_C3S_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_11(2,:) = zone_11_f->NPP_C4G_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_11(3,:) = zone_11_f->NPP_C4S_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_11(4,:) = zone_11_f->NPP_OTHER_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">        </span>data_11(5,:) = zone_11_f->NPP_SF_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_11(6,:) = zone_11_f->NPP_SW_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_11(7,:) = zone_11_f->NPP_TF_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_11(8,:) = zone_11_f->NPP_TW_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>ALL_data_11<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">       </span> = zone_11_f->NPP_ALL_annual</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">       </span>print("3a   - Zone 12")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">    </span>data_12(0,:) = zone_12_f->NPP_C3G_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_12(1,:) = zone_12_f->NPP_C3S_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_12(2,:) = zone_12_f->NPP_C4G_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_12(3,:) = zone_12_f->NPP_C4S_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_12(4,:) = zone_12_f->NPP_OTHER_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">        </span>data_12(5,:) = zone_12_f->NPP_SF_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_12(6,:) = zone_12_f->NPP_SW_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_12(7,:) = zone_12_f->NPP_TF_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_12(8,:) = zone_12_f->NPP_TW_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>ALL_data_12<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">       </span> = zone_12_f->NPP_ALL_annual</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">       </span>print("3a   - Zone 13")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">    </span>data_13(0,:) = zone_13_f->NPP_C3G_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_13(1,:) = zone_13_f->NPP_C3S_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_13(2,:) = zone_13_f->NPP_C4G_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_13(3,:) = zone_13_f->NPP_C4S_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_13(4,:) = zone_13_f->NPP_OTHER_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">        </span>data_13(5,:) = zone_13_f->NPP_SF_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_13(6,:) = zone_13_f->NPP_SW_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_13(7,:) = zone_13_f->NPP_TF_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_13(8,:) = zone_13_f->NPP_TW_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>ALL_data_13<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">       </span> = zone_13_f->NPP_ALL_annual</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">       </span>print("3a   - Zone 14")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">    </span>data_14(0,:) = zone_14_f->NPP_C3G_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_14(1,:) = zone_14_f->NPP_C3S_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_14(2,:) = zone_14_f->NPP_C4G_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_14(3,:) = zone_14_f->NPP_C4S_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_14(4,:) = zone_14_f->NPP_OTHER_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">        </span>data_14(5,:) = zone_14_f->NPP_SF_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_14(6,:) = zone_14_f->NPP_SW_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_14(7,:) = zone_14_f->NPP_TF_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_14(8,:) = zone_14_f->NPP_TW_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>ALL_data_14<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">       </span> = zone_14_f->NPP_ALL_annual</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">       </span>print("3a   - Zone 15")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">    </span>data_15(0,:) = zone_15_f->NPP_C3G_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_15(1,:) = zone_15_f->NPP_C3S_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_15(2,:) = zone_15_f->NPP_C4G_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_15(3,:) = zone_15_f->NPP_C4S_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_15(4,:) = zone_15_f->NPP_OTHER_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">        </span>data_15(5,:) = zone_15_f->NPP_SF_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_15(6,:) = zone_15_f->NPP_SW_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_15(7,:) = zone_15_f->NPP_TF_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_15(8,:) = zone_15_f->NPP_TW_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>ALL_data_15<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">       </span> = zone_15_f->NPP_ALL_annual</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">       </span>print("3a   - Zone 16")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">    </span>data_16(0,:) = zone_16_f->NPP_C3G_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_16(1,:) = zone_16_f->NPP_C3S_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_16(2,:) = zone_16_f->NPP_C4G_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_16(3,:) = zone_16_f->NPP_C4S_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>data_16(4,:) = zone_16_f->NPP_OTHER_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">        </span>data_16(5,:) = zone_16_f->NPP_SF_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_16(6,:) = zone_16_f->NPP_SW_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_16(7,:) = zone_16_f->NPP_TF_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>data_16(8,:) = zone_16_f->NPP_TW_percentage</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>ALL_data_16<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">       </span> = zone_16_f->NPP_ALL_annual</font></div><div><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"><font face="Courier">  </font></span></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">      </span>;*********************************************************</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">       </span>; CREATE INDIVIDUAL PLOTS</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">        </span>;*********************************************************</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">    </span>print("4 - Create individual plots")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">        </span>print("4a   - Zone 1")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  res@gsnRightString = "Zone 1" ; title</font></div><div><font face="Courier">  res@gsnLeftString  = "Avg.: "  + decimalPlaces(dim_avg_n(ALL_data_01,0)/1000000,1,True) + " t C m^-2"</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>plot(0) = gsn_csm_xy (wks,year,data_01,res) ; create plot</font></div><div><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"><font face="Courier">        </font></span></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"> </span>print("4a   - Zone 2")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  res@gsnRightString = "Zone 2" ; title</font></div><div><font face="Courier">  res@gsnLeftString  = "Avg.: "  + decimalPlaces(dim_avg_n(ALL_data_02,0)/1000000,1,True) + " t C m^-2"</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>plot(1) = gsn_csm_xy (wks,year,data_02,res) ; create plot</font></div><div><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"><font face="Courier">        </font></span></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"> </span>print("4a   - Zone 3")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  res@gsnRightString = "Zone 3" ; title</font></div><div><font face="Courier">  res@gsnLeftString  = "Avg.: "  + decimalPlaces(dim_avg_n(ALL_data_03,0)/1000000,1,True) + " t C m^-2"</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>plot(2) = gsn_csm_xy (wks,year,data_03,res) ; create plot</font></div><div><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"><font face="Courier">        </font></span></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"> </span>print("4a   - Zone 4")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  res@gsnRightString = "Zone 4" ; title</font></div><div><font face="Courier">  res@gsnLeftString  = "Avg.: "  + decimalPlaces(dim_avg_n(ALL_data_04,0)/1000000,1,True) + " t C m^-2"</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>plot(3) = gsn_csm_xy (wks,year,data_04,res) ; create plot</font></div><div><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"><font face="Courier">        </font></span></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"> </span>print("4a   - Zone 5")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  res@gsnRightString = "Zone 5" ; title</font></div><div><font face="Courier">  res@gsnLeftString  = "Avg.: "  + decimalPlaces(dim_avg_n(ALL_data_05,0)/1000000,1,True) + " t C m^-2"</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>plot(4) = gsn_csm_xy (wks,year,data_05,res) ; create plot</font></div><div><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"><font face="Courier">        </font></span></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"> </span>print("4a   - Zone 6")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  res@gsnRightString = "Zone 6" ; title</font></div><div><font face="Courier">  res@gsnLeftString  = "Avg.: "  + decimalPlaces(dim_avg_n(ALL_data_06,0)/1000000,1,True) + " t C m^-2"</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>plot(5) = gsn_csm_xy (wks,year,data_06,res) ; create plot</font></div><div><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"><font face="Courier">        </font></span></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"> </span>print("4a   - Zone 7")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  res@gsnRightString = "Zone 7" ; title</font></div><div><font face="Courier">  res@gsnLeftString  = "Avg.: "  + decimalPlaces(dim_avg_n(ALL_data_07,0)/1000000,1,True) + " t C m^-2"</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>plot(6) = gsn_csm_xy (wks,year,data_07,res) ; create plot</font></div><div><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"><font face="Courier">        </font></span></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"> </span>print("4a   - Zone 8")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  res@gsnRightString = "Zone 8" ; title</font></div><div><font face="Courier">  res@gsnLeftString  = "Avg.: "  + decimalPlaces(dim_avg_n(ALL_data_08,0)/1000000,1,True) + " t C m^-2"</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>plot(7) = gsn_csm_xy (wks,year,data_08,res) ; create plot</font></div><div><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"><font face="Courier">        </font></span></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"> </span>print("4a   - Zone 9")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  res@gsnRightString = "Zone 9" ; title</font></div><div><font face="Courier">  res@gsnLeftString  = "Avg.: "  + decimalPlaces(dim_avg_n(ALL_data_09,0)/1000000,1,True) + " t C m^-2"</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">   </span>plot(8) = gsn_csm_xy (wks,year,data_09,res) ; create plot</font></div><div><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"><font face="Courier">        </font></span></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"> </span>print("4a   - Zone 10")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  res@gsnRightString = "Zone 10" ; title</font></div><div><font face="Courier">  res@gsnLeftString  = "Avg.: "  + decimalPlaces(dim_avg_n(ALL_data_10,0)/1000000,1,True) + " t C m^-2"</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"> </span>plot(9) = gsn_csm_xy (wks,year,data_10,res) ; create plot</font></div><div><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"><font face="Courier">        </font></span></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"> </span>print("4a   - Zone 11")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  res@gsnRightString = "Zone 11" ; title</font></div><div><font face="Courier">  res@gsnLeftString  = "Avg.: "  + decimalPlaces(dim_avg_n(ALL_data_11,0)/1000000,1,True) + " t C m^-2"</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"> </span>plot(10) = gsn_csm_xy (wks,year,data_11,res) ; create plot</font></div><div><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"><font face="Courier">       </font></span></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"> </span>print("4a   - Zone 12")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  res@gsnRightString = "Zone 12" ; title</font></div><div><font face="Courier">  res@gsnLeftString  = "Avg.: "  + decimalPlaces(dim_avg_n(ALL_data_12,0)/1000000,1,True) + " t C m^-2"</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"> </span>plot(11) = gsn_csm_xy (wks,year,data_12,res) ; create plot</font></div><div><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"><font face="Courier">       </font></span></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"> </span>print("4a   - Zone 13")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  res@gsnRightString = "Zone 13" ; title</font></div><div><font face="Courier">  res@gsnLeftString  = "Avg.: "  + decimalPlaces(dim_avg_n(ALL_data_13,0)/1000000,1,True) + " t C m^-2"</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"> </span>plot(12) = gsn_csm_xy (wks,year,data_13,res) ; create plot</font></div><div><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"><font face="Courier">       </font></span></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"> </span>print("4a   - Zone 14")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  res@gsnRightString = "Zone 14" ; title</font></div><div><font face="Courier">  res@gsnLeftString  = "Avg.: "  + decimalPlaces(dim_avg_n(ALL_data_14,0)/1000000,1,True) + " t C m^-2"</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"> </span>plot(13) = gsn_csm_xy (wks,year,data_14,res) ; create plot</font></div><div><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"><font face="Courier">       </font></span></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"> </span>print("4a   - Zone 15")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  res@gsnRightString = "Zone 15" ; title</font></div><div><font face="Courier">  res@gsnLeftString  = "Avg.: "  + decimalPlaces(dim_avg_n(ALL_data_15,0)/1000000,1,True) + " t C m^-2"</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"> </span>plot(14) = gsn_csm_xy (wks,year,data_15,res) ; create plot</font></div><div><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"><font face="Courier">       </font></span></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"> </span>print("4a   - Zone 16")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  res@gsnRightString = "Zone 16" ; title</font></div><div><font face="Courier">  res@gsnLeftString  = "Avg.: "  + decimalPlaces(dim_avg_n(ALL_data_16,0)/1000000,1,True) + " t C m^-2"</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"> </span>plot(15) = gsn_csm_xy (wks,year,data_16,res) ; create plot</font></div><div><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"><font face="Courier">       </font></span></div><div><font face="Courier"><br></font></div><div><font face="Courier">;***********************************************</font></div><div><font face="Courier">; CREATING A LEGEND</font></div><div><font face="Courier">;***********************************************</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">     </span>print("5 - Create legend")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  gres             = True</font></div><div><font face="Courier">  gres@YPosPercent = 25<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">        </span>   ; expressed as %, 0->100, sets position of top border of legend</font></div><div><font face="Courier">                           ;  when gres@Position is set to its default setting of "Top" (Default = 95.)</font></div><div><font face="Courier">  gres@XPosPercent = 50<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"> </span>   ; expressed as %, 0->100, sets position of left border of legend(Default = 5.)</font></div><div><font face="Courier">  gres@vpHeightF   = 0.5   ; height of legend (NDC)</font></div><div><font face="Courier">  gres@vpWidth     = 1     ; height of legend (NDC)</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  lineres                   = True</font></div><div><span style="font-family:Courier">  lineres@lgAutoManage      = False</span></div><div><span style="font-family:Courier">  lineres@lgLineColors      = (/"blue","red","orange","black","green","pink","brown","purple","grey"/)</span></div><div><font face="Courier">  lineres@lgLineThicknesses = 10<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">                                 </span>; line thicknesses</font></div><div><font face="Courier">  lineres@LineLengthPercent = 5.<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">                                      </span>; expressed as %, 0->100, length of line</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  textres                    = True</font></div><div><span style="font-family:Courier">  textres@lgAutoManage       = False</span></div><div><font face="Courier">  textres@lgLabels           = (/"C3 grassland","C3 shrubland","C4 grassland","C4 shrubland","Other","Subtropical forest","Subtropical woodland","Temperate forest","Temperate woodland"/)  ; legend labels (required)</font></div><div><font face="Courier">  textres@lgLabelFontHeightF = .01   ; set the legend label font thickness</font></div><div><font face="Courier">  textres@vpHeightF          = 0.5   ; height of legend (NDC)</font></div><div><font face="Courier">  textres@vpWidthF           = 1     ; height of legend (NDC)</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  simple_legend_ndc(wks,gres,lineres,textres)</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><br></font></div><div><font face="Courier">/;</font></div><div><font face="Courier">  var_long_name_01 = (/"C3 grassland","C3 shrubland","C4 grassland","C4 shrubland","Other"/)</font></div><div><font face="Courier">  var_long_name_02 = (/"Subtropical forest","Subtropical woodland","Temperate forest","Temperate woodland"/)</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">; line colors: "blue","red","orange","black","green","pink","brown","purple","grey"</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">; Legend elements 1-5 <span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">        </span></font></div><div><font face="Courier">  lgres                    = True</font></div><div><font face="Courier">  lgres@lgAutoManage       = True</font></div><div><font face="Courier">  lgres@lgLineColors       = (/"blue","red","orange","black","green"/)</font></div><div><font face="Courier">  lgres@lgLineThicknessF   = res@xyLineThicknesses  ; legend line thickness = contour line thickness</font></div><div><font face="Courier">  lgres@lgItemType         = "Lines"        <span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">                                </span>; show lines only (default)</font></div><div><font face="Courier">  lgres@lgItemCount        = 5<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">                                                                                  </span>; Number of items</font></div><div><font face="Courier">  lgres@lgLabelFontHeightF = .04            <span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">                             </span>; set the legend label font thickness</font></div><div><font face="Courier">  lgres@vpWidthF           = 1<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">                </span>           <span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">                          </span>; width of legend (NDC)</font></div><div><font face="Courier">  lgres@vpHeightF          = 1    <span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">        </span>        <span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">                              </span>; height of legend (NDC)</font></div><div><font face="Courier">  lgres@lgPerimColor       = "white"<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">       </span>       <span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">                                </span>; draw the box perimeter in orange</font></div><div><font face="Courier">  lgres@lgPerimThicknessF  = 1.0            <span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">                           </span>; thicken the box perimeter</font></div><div><font face="Courier">  plot(16) = gsn_create_legend(wks,5,var_long_name_01,lgres)         ; create legend</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><br></font></div><div><font face="Courier">; Legend elements 6-9 </font></div><div><font face="Courier">  gres = True</font></div><div><font face="Courier">  gres@YPosPercent = 5.<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">               </span>; expressed as %, 0->100, sets position of top border of legend</font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">                                                                                                       </span>; 0 = bottom of plot, 100 = top of plot</font></div><div><font face="Courier">  gres@XPosPercent = 50<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">          </span>; expressed as %, 0->100, sets position of left border of legend</font></div><div><font face="Courier">  <span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">                                                                                           </span>; 0 = left side of plot</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  lgres                    = True</font></div><div><font face="Courier">  lgres@lgAutoManage       = False</font></div><div><font face="Courier">  lgres@lgLineColors       = (/"pink","brown","purple","grey"/)</font></div><div><font face="Courier">  lgres@lgLineThicknessF   = res@xyLineThicknesses  ; legend line thickness = 1/2 contour line thickness</font></div><div><font face="Courier">  lgres@lgItemType         = "Lines"        <span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">                           </span>; show lines only (default)</font></div><div><font face="Courier">  lgres@lgItemCount<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>   = 4<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">                                                                                  </span>; Number of items</font></div><div><font face="Courier">  lgres@lgLabelFontHeightF = .04            <span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">                             </span>; set the legend label font thickness</font></div><div><font face="Courier">  lgres@vpWidthF           = 1<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">                </span>           <span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">                          </span>; width of legend (NDC)</font></div><div><font face="Courier">  lgres@vpHeightF          = 1    <span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">        </span>        <span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">                              </span>; height of legend (NDC)</font></div><div><font face="Courier">  lgres@lgPerimColor       = "white"<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">       </span>       <span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">                                </span>; draw the box perimeter in orange</font></div><div><font face="Courier">  lgres@lgPerimThicknessF  = 1.0            <span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">                           </span>; thicken the box perimeter</font></div><div><font face="Courier">  plot(17) = gsn_create_legend(wks,gres,var_long_name_02,lgres)         ; create legend</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">      </span>; Legend elements 1-9 <span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">    </span></font></div><div><font face="Courier">  lgres                    = True</font></div><div><font face="Courier">  lgres@lgAutoManage<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">       </span>   = False</font></div><div><font face="Courier">  lgres@lgLineColors       = (/"blue","red","orange","black","green","pink","brown","purple","grey"/)</font></div><div><font face="Courier">  lgres@lgLineThicknessF   = 5  <span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">                                                                              </span>; legend line thickness</font></div><div><font face="Courier">  lgres@lgItemType         = "Lines"        <span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">                           </span>; show lines only (default)</font></div><div><font face="Courier">  lgres@lgItemCount        = 9<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">                                                                                   </span>; Number of items</font></div><div><font face="Courier">  lgres@lgLabelFontHeightF = .01            <span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">                             </span>; set the legend label font thickness</font></div><div><font face="Courier">  lgres@vpWidthF           = 0.5<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">              </span>           <span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">                          </span>; width of legend (NDC)</font></div><div><font face="Courier">  lgres@vpHeightF          = 1    <span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">        </span>        <span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">                              </span>; height of legend (NDC)</font></div><div><font face="Courier">  lgres@lgPerimColor       = "white"<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">       </span>       <span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">                                </span>; draw the box perimeter in orange</font></div><div><font face="Courier">  lgres@lgPerimThicknessF  = 1.0            <span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">                           </span>; thicken the box perimeter</font></div><div><font face="Courier">  plot(16) = gsn_create_legend(wks,9,(/"C3-G","C3-S","C4-G","C4-S","Other","SF","SW","TF","TW"/),lgres)         ; create legend</font></div><div><font face="Courier">;/</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><br></font></div><div><font face="Courier">;***********************************************</font></div><div><font face="Courier">; panel plots together</font></div><div><font face="Courier">;***********************************************</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">  </span>print("6 - Create plot matrix")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  pres                 = True</font></div><div><font face="Courier">  pres@gsnMaximize     = False</font></div><div><font face="Courier">  pres@gsnPanelRowSpec = True</font></div><div><font face="Courier">  pres@gsnPanelCenter  = False</font></div><div><font face="Courier">  pres@gsnFrame        = False</font></div><div><font face="Courier">  pres@gsnPanelXWhiteSpacePercent<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">      </span>= 10<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">      </span>; horizontal white space between columns in percent</font></div><div><font face="Courier">  pres@gsnPanelYWhiteSpacePercent<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">    </span>= 5<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">               </span>; vertical white space between rows in percent</font></div><div><font face="Courier">  pres@gsnPanelMainString = RCP_title[h](0) + " | " + fs_title[i](0) + " | " + model_title[j](0) + " | NPP per func. group"</font></div><div><font face="Courier">  pres@tiMainFontHeightF  = 0.04</font></div><div><font face="Courier">  pres@tiMainFont         = 21</font></div><div><font face="Courier">  pres@gsnPanelXF  = (/-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1/)</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  gsn_panel(wks,plot,(/3,3,3,3,3,3/),pres)</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">  frame(wks)</font></div><div><font face="Courier">  </font></div><div><font face="Courier">  print("")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"> </span>print("**** DONE ****")</font></div><div><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"><font face="Courier">        </font></span></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"> </span>delete([/diri,plot,diro,filo,wks,res,data_01,data_02,data_03,data_04,data_05,data_06,data_07,data_08,data_09,data_10,data_11,data_12,data_13,data_14,data_15,data_16,zone_01_f,zone_02_f,zone_03_f,zone_04_f,zone_05_f,zone_06_f,zone_07_f,zone_08_f,zone_09_f,zone_10_f,zone_11_f,zone_12_f,zone_13_f,zone_14_f,zone_15_f,zone_16_f,pres/])</font></div><div><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"><font face="Courier">     </font></span></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"> </span>sleep(10)</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">             </span>end do<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">    </span>; end model list loop</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap"> </span>end do<span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">    </span>; end fs list loop</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">end do <span class="m_6960039825039830633Apple-tab-span" style="white-space:pre-wrap">     </span>; end RCP list loop</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">print("**** ALL DONE ****")</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">end</font></div></div><div><br></div><div>
<div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;word-wrap:break-word;line-break:after-white-space"><div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word;line-break:after-white-space"><div style="color:rgb(0,0,0);font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div></div></div><br class="m_6960039825039830633Apple-interchange-newline">
</div>
<div><br><blockquote type="cite"><div>On Jul 30, 2018, at 12:18 PM, Adam Phillips <<a href="mailto:asphilli@ucar.edu" target="_blank">asphilli@ucar.edu</a>> wrote:</div><br class="m_6960039825039830633Apple-interchange-newline"><div><div dir="ltr">Hi Toni,<div>The order should likely be something like this:</div><div>res = True</div><div>.....</div><div>plot = new(16, graphic)</div><div>do gg = 0,15</div><div>plot(gg) = gsn_csm_xy(wks,...,res)</div><div>end do</div><div><br></div><div>panres = True  ; panel resource list</div><div>panres@gsnFrame = False   ; do not flip the page after calling gsn_panel</div><div>...</div><div>gsn_panel(wks,plot,(/6,3/),panres)</div><div><br></div><div><div>gres = True</div><div>gres@YPosPercent = 15.    ; expressed as %, 0->100, sets position of top border of legend</div><div>                            ;  when gres@Position is set to its default setting of "Top" (Default = 95.)</div><div>gres@XPosPercent = 35.      ; expressed as %, 0->100, sets position of left border of legend(Default = 5.</div></div><div>lineres = True </div><div>...</div><div>textres = True</div><div>....</div><div>simple_legend_ndc(wks,gres,lineres,textres)</div><div>frame(wks)   ; flip the page (/finish the plot)</div><div><br></div><div>Note that I set the gres@YPosPercent = 15 which will mean the top of the legend will start at 15% of the way up the page, and gres@XPosPercent = 35 which will result in the legend starting 35% of the way over from the left side of the page. You will likely have to alter these settings a bit.</div><div><br></div><div>Hope that helps. In the future, please include ncl-talk on all replies so that others in the future can see the issue resolution.</div><div>Adam </div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Jul 30, 2018 at 11:09 AM Toni Klemm <<a href="mailto:toni-klemm@tamu.edu" target="_blank">toni-klemm@tamu.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">Hi Adam,<div><br></div><div>That worked! It plotted the legend, and without any graph because I commented that out. How do I get it to appear in my matrix plot, in the bottom center? I attached that plot for reference. Originally I assigned the legend "plot(16)" because plot 16 would be the bottom center. But that’s when I got the error message. “plot” is an graphics array with 18 elements ("plot = new(18,graphic)”) Is that the problem?<br><div><br class="m_6960039825039830633m_6971702866954664462webkit-block-placeholder"></div><div>
<div dir="auto" style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;word-wrap:break-word;line-break:after-white-space"><div dir="auto" style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word;line-break:after-white-space"><div style="font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><font face="Calibri">Thank you again,</font></div><div style="font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><font face="Calibri">Toni</font></div><div style="font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><font face="Calibri"><br class="m_6960039825039830633m_6971702866954664462Apple-interchange-newline"><br></font></div><div style="font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><font face="Calibri"><b>Toni Klemm, Ph.D.<br></b>Postdoctoral Research Associate<br>Department of Ecosystem Science and Management<br>Texas A&M University, College Station, TX<br>Contributor at the <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.eccforum.org&d=DwMFaQ&c=ODFT-G5SujMiGrKuoJJjVg&r=WsLJ5ywbW3XnTzqo_ETV62H6s1a5bcGgnrpl7xPRfic&m=vZDXoNZVh-FHQeBimjUETu1oZnRy5LXMitrIB6z2EeY&s=uuJLFqTkjxdif_aJ0nFmcD7xTUrwa7ywQvg4LInDJmM&e=" target="_blank">Early Career Climate Forum</a><br><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.toni-2Dklemm.de&d=DwMFaQ&c=ODFT-G5SujMiGrKuoJJjVg&r=WsLJ5ywbW3XnTzqo_ETV62H6s1a5bcGgnrpl7xPRfic&m=vZDXoNZVh-FHQeBimjUETu1oZnRy5LXMitrIB6z2EeY&s=U0Y5rnows5YR473sgGxk8P53CHZkxTXOzoMSI46sPgI&e=" target="_blank">www.toni-klemm.de</a> | <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__twitter.com_toniklemm&d=DwMFaQ&c=ODFT-G5SujMiGrKuoJJjVg&r=WsLJ5ywbW3XnTzqo_ETV62H6s1a5bcGgnrpl7xPRfic&m=vZDXoNZVh-FHQeBimjUETu1oZnRy5LXMitrIB6z2EeY&s=aWwtxR_l1qBEhQb4TrnxEXWIOddjAahWNAUxcVHnUgo&e=" target="_blank">@toniklemm</a></font></div><div style="font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><font face="Calibri"><br></font></div><div style="font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><img id="m_6960039825039830633m_6971702866954664462BFAFDA3F-E637-4D53-82D7-7022C3783C07" width="480" height="539"></div></div></div><br class="m_6960039825039830633m_6971702866954664462Apple-interchange-newline"><br class="m_6960039825039830633m_6971702866954664462Apple-interchange-newline">
</div>
<div><br><blockquote type="cite"><div>On Jul 30, 2018, at 11:52 AM, Adam Phillips <<a href="mailto:asphilli@ucar.edu" target="_blank">asphilli@ucar.edu</a>> wrote:</div><br class="m_6960039825039830633m_6971702866954664462Apple-interchange-newline"><div><div dir="ltr" style="font-family:Calibri;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">Hi Toni,<div>I think you're loading it correctly. Note though that simple_legend_ndc is a procedure, so nothing is returned from the procedure to the calling script.<div>Try changing this:</div><div><span style="color:rgb(255,255,255);font-family:Courier;font-size:small;background-color:rgb(4,51,255);float:none;display:inline">plot(16) = simple_legend_ndc(wks,gres,</span><span style="color:rgb(255,255,255);font-family:Courier;font-size:small;background-color:rgb(4,51,255);float:none;display:inline">lineres,textres)</span></div><div>to this: </div><div>simple_legend_ndc(wks,gres,lineres,textres)</div></div><div><br></div><div>Adam</div></div><br style="font-family:Calibri;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div class="gmail_quote" style="font-family:Calibri;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div dir="ltr">On Mon, Jul 30, 2018 at 10:46 AM Toni Klemm <<a href="mailto:toni-klemm@tamu.edu" target="_blank">toni-klemm@tamu.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">Hi Alex, thanks again! <div><br></div><div>Unfortunately I’m still getting the error. I saved the function to my server space and loaded it at the beginning of the script like this:</div><div><br></div><div><font face="Courier" color="#ffffff" style="background-color:rgb(4,51,255)">load "~/NIFA/NCL_6.5.0_functions/simple_legend_ndc.ncl”</font></div><div><br></div><div>The command to execute it in the script looks like this (I used gres, lineres, and textres from the example to test it):</div><div><br></div><div><font face="Courier" color="#ffffff" style="background-color:rgb(4,51,255)">plot(16) = simple_legend_ndc(wks,gres,lineres,textres)</font></div><div><br></div><div>I also tried this:</div><div><br></div><div><div><font face="Courier" color="#ffffff" style="background-color:rgb(4,51,255)">plot(16) = simple_legend_ndc.ncl(wks,gres,lineres,textres)</font></div></div><div><font face="Courier"><br></font></div><div>but got the same error.<div><div dir="auto" style="word-wrap:break-word;line-break:after-white-space"><div dir="auto" style="word-wrap:break-word;line-break:after-white-space"></div></div></div></div><div><br></div><div>This is the error I’m getting:</div><div><br></div><div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(43,102,201)"><span style="font-variant-ligatures:no-common-ligatures">fatal:syntax error: line 510 in file matrix_chart_NPP_percentage_all_zones_all_groups.ncl before or near simple_legend_ndc </span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(43,102,201)"><span style="font-variant-ligatures:no-common-ligatures"> <span class="m_6960039825039830633m_6971702866954664462Apple-converted-space"> </span>plot(16) = simple_legend_ndc</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(43,102,201)"><span style="font-variant-ligatures:no-common-ligatures">-----------------------------^</span></div></div><div><div dir="auto" style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;word-wrap:break-word;line-break:after-white-space"><div dir="auto" style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word;line-break:after-white-space"><div style="font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><font face="Calibri"><br></font></div><div style="font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Am I loading the function correctly? I’m not getting an error about it, so I assume it is loading correctly.</div><div style="font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><div style="font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Thanks again,</div><div style="font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Toni</div><div style="font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><div style="font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><font face="Calibri"><br></font></div><div style="font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><font face="Calibri"><b>Toni Klemm, Ph.D.<br></b>Postdoctoral Research Associate<br>Department of Ecosystem Science and Management<br>Texas A&M University, College Station, TX<br>Contributor at the <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.eccforum.org&d=DwMFaQ&c=ODFT-G5SujMiGrKuoJJjVg&r=WsLJ5ywbW3XnTzqo_ETV62H6s1a5bcGgnrpl7xPRfic&m=OCrz0F80P765WcmE1_9SOXWuUkltz4e82DSP0ufoLI4&s=C2brqs0P8JS044Qhu-m82ayNzyBbc2MpmxfprvHLvoc&e=" target="_blank">Early Career Climate Forum</a><br><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.toni-2Dklemm.de&d=DwMFaQ&c=ODFT-G5SujMiGrKuoJJjVg&r=WsLJ5ywbW3XnTzqo_ETV62H6s1a5bcGgnrpl7xPRfic&m=OCrz0F80P765WcmE1_9SOXWuUkltz4e82DSP0ufoLI4&s=TYOC59ftTJQY1ImeUty7VwI_9hWYG7ERiUNyzAAKcts&e=" target="_blank">www.toni-klemm.de</a> | <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__twitter.com_toniklemm&d=DwMFaQ&c=ODFT-G5SujMiGrKuoJJjVg&r=WsLJ5ywbW3XnTzqo_ETV62H6s1a5bcGgnrpl7xPRfic&m=OCrz0F80P765WcmE1_9SOXWuUkltz4e82DSP0ufoLI4&s=zQ1pM6aCfNyE08W1HkO8qwH86INpW5B6TBlVk7EJGV0&e=" target="_blank">@toniklemm</a></font></div><div style="font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><font face="Calibri"><br></font><</div></div></div></div></div></blockquote></div></div></blockquote></div></div></div></blockquote></div></div></blockquote></div></div></div></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span><font color="#888888">Adam Phillips <br></font></span></div><span><font color="#888888">Associate Scientist,  </font></span><span><font color="#888888">Climate and Global Dynamics Laboratory, NCAR<br></font></span></div></div><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli/" target="_blank">www.cgd.ucar.edu/staff/asphilli/</a>   </font></span><span><font color="#888888">303-497-1726 </font></span></div><span><font color="#888888"></font></span><div><div><span><font color="#888888"><br></font></span><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli" target="_blank"></a></font></span></div></div></div></div></div></div></div></div></div></div></div>