./
pp_ilegend__define.pro
This object allows adding separate legend boxes to an iTool. Once a new legend box is created, items can be added to it. After there are 2 or more legend boxes, any additional legend items must be added with this object's additem method. See example below.
Examples
Make some plot, with a legend:
iplot,[0,1],name='a',/insert_legend
iplot,[0,0],name='b',/over
leg=pp_ilegend([0d0,0.5d0])
iplot,[0,-1],name='c',/over
leg.additem
Author information
- Author
Paulo Penteado (pp.penteado@gmail.com), Mar/2014
- Version
20140318
Other file information
- Requires:
IDL 8.0
Class description for pp_ilegend
Properties
Properties in pp_ilegend
- verbose init
Fields
Fields in pp_ilegend
- ITEMS obj_new()
- LEG obj_new()
- TOOL obj_new()
- VERBOSE 0B
Routines
Routines from pp_ilegend__define.pro
Routine details
top source pp_ilegend::init
result = pp_ilegend::init(loc, verbose=verbose)
Parameters
- loc
Keywords
- verbose
Statistics
Lines: | 13 lines |
Cyclomatic complexity: | 5 |
Modified cyclomatic complexity: | 5 |
File attributes
Modification date: | Wed Jun 29 22:15:28 2016 |
Lines: | 28 |
Docformat: | rst rst |