Open GoogleCodeExporter opened 9 years ago
Note this change should be made to SVN branch/Jpowder3D, not trunch/Jpowder.
To recreate 3D plot.PNG. Open Jpowder from NetBeans 6.7.0-1, see
http://code.google.com/p/jpowder/wiki/HowToCompileSource for how to
get hold of this version of NetBeans. Then select the 3D Plots tab
and drag in all the files from the folder: \trunk\data\xye 3D
dataset\chlorothiazide-dmf solvate.
A suggestion for implementing this is:
1) to change the 'meta' attribute of DataSet. Currently meta is stored as
// holds meta data for the DataSet in pairs
// of name of meta-data-item, e.g. temperature, and
// its value
private HashMap<String,Double> meta;
This needs to be changed so that the meta data values
stored can also be String. Maybe use Java 'templates'?
2) Where the meta attribute is currently used is in FilesPlotter3D.java
in method createChart. It is used create the arguments for:
renderer.setBlockHeight(widthsLow, widthsUpper);
When the meta-data value is Double block heights are adjusted
according to what this values are. When the meta-data value is String
this block heights should be the same.
Note because we want to display Strings rather than numbers on the
y-axis then this means we may not be able to use JFreeChart XYPlot
when meta data is String
Original comment by anders.m...@stfc.ac.uk
on 15 Jul 2011 at 7:28
Original issue reported on code.google.com by
anders.m...@stfc.ac.uk
on 8 Jul 2011 at 6:10Attachments: