Opened 11 years ago

Closed 11 years ago

#434 closed task (fixed)

Add XYZ plotting capabilities

Reported by: Kevin Milner Owned by: Kevin Milner
Priority: major Milestone: OpenSHA 1.3
Component: commons Version:
Keywords: Cc:


JFreeChart allows for basic XYZ plotting capabilities through the XYBlockRenderer class. We should expose these capabilities for non-geographically projected XYZ data.

Attachments (1)

xyz_plot.png (81.4 KB) - added by Kevin Milner 11 years ago.

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by Kevin Milner

Attachment: xyz_plot.png added

comment:1 Changed 11 years ago by Kevin Milner

Milestone: OpenSHA 1.3
Resolution: fixed
Status: newclosed

Added new package, org.opensha.commons.gui.plot.jfreechart.xyzPlot, which contains XYZGraphPanel (analogous to GraphPanel?). XYZGraphPanel accepts XYZ_DataSet and CPT instances and as opposed to DiscretizedFunc? instances. Block thickness can be specified, or will be detected automatically for evenly gridded datasets or estimated from arbitrarily discretized datasets.

See attached example:

Note: See TracTickets for help on using tickets.