Taylor Diagram labeling

From: Noel Aloysius <noel.aloysius_at_nyahnyahspammersnyahnyah>
Date: Mon Jul 09 2012 - 09:20:16 MDT

Hi NCL,

I created a Taylor diagram comparing 10 model outputs in relation to a
reference. Each model output has multiple ensembles. The plot (attached)
shows, in red, each model ensembles in a cluster. Now, I want to name each
cluster. The blue cluster is the output after bias-correction. I don't
think they need to be named.

I will appreciate your help on this. The relevant code section is attached.

  ;***********************************************
  ; TAYLOR DIAGRAM
  ;***********************************************
  load "./taylor_diagram.ncl"

  ratio11 = (/ ccTaylor(:,0,:) /)
  cc11 = (/ ccTaylor(:,1,:) /)

  type = "png"
  wks = gsn_open_wks(type, diro + "precip_Taylor1948-2000")

  res = True ; diagram mods
desired
  res@Colors = (/"red","blue"/) ; marker colors
  res@Markers = (/14,9/) ; marker styles
  res@markerTxYOffset = 0.04 ; offset btwn marker & label
  res@gsMarkerSizeF = 0.01 ; marker size
  res@txFontHeightF = 0.015 ; text size

  res@stnRad = (/ 0.5, 1.5 /) ; additional standard
radii
  res@ccRays = (/ 0.6, 0.9 /) ; correlation rays
  res@ccRays_color = "LightGray" ; default is "black"

  res@centerDiffRMS = True ; RMS 'circles'
  res@centerDiffRMS_color = "LightGray" ; default is "black"
  plot = taylor_diagram(wks, ratio11, cc11, res)

  ; strip white spaces at the edges
  fig_name = diro + str_split(wks@name,"/") + "." +
type ; figure name
  temp_fig = diro + "tempfig" + "." + type
  system("convert -flatten -trim +repage -background white " + fig_name + "
" + temp_fig)
  system("mv " + temp_fig + " " + fig_name)
  system("rm -f " + temp_fig)

  delete([/ratio11,cc11,type,res,wks,plot,fig_name,temp_fig/])

;*****************************************************************************************

Thanks,
Noel

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

precip_Taylor1948-2000.png
Received on Mon Jul 9 09:20:26 2012

This archive was generated by hypermail 2.1.8 : Fri Aug 03 2012 - 14:39:59 MDT