Changeset 19444
- Timestamp:
- 07/16/15 04:15:09 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/plot/applyoptions.py
r19435 r19444 269 269 #text {{{ 270 270 if options.exist('text'): 271 272 273 274 275 276 277 278 279 ax.text(x,y,label,transform=ax.transAxes,fontsize=textfontsize,color=color,weight=weight,rotation=rotation)271 text=options.getfieldvalue('text') 272 textx=options.getfieldvalue('textx') 273 texty=options.getfieldvalue('texty') 274 textcolor=options.getfieldvalue('textcolor') 275 textweight=options.getfieldvalue('textweight') 276 textrotation=options.getfieldvalue('textrotation') 277 textfontsize=options.getfieldvalue('textfontsize') 278 for label,x,y,size,color,weight,rotation in zip(text,textx,texty,textfontsize,textcolor,textweight,textrotation): 279 ax.text(x,y,label,transform=ax.transAxes,fontsize=size,color=color,weight=weight,rotation=rotation) 280 280 #}}} 281 281
Note:
See TracChangeset
for help on using the changeset viewer.