org.jfree.chart.plot.ContourPlot Java Examples
The following examples show how to use
org.jfree.chart.plot.ContourPlot.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ColorBar.java From openstock with GNU General Public License v3.0 | 5 votes |
/** * Configures the color bar. * * @param plot the plot. */ public void configure(ContourPlot plot) { double minZ = plot.getDataset().getMinZValue(); double maxZ = plot.getDataset().getMaxZValue(); setMinimumValue(minZ); setMaximumValue(maxZ); }
Example #2
Source File: ColorBar.java From ccu-historian with GNU General Public License v3.0 | 5 votes |
/** * Configures the color bar. * * @param plot the plot. */ public void configure(ContourPlot plot) { double minZ = plot.getDataset().getMinZValue(); double maxZ = plot.getDataset().getMaxZValue(); setMinimumValue(minZ); setMaximumValue(maxZ); }
Example #3
Source File: ColorBar.java From SIMVA-SoS with Apache License 2.0 | 5 votes |
/** * Configures the color bar. * * @param plot the plot. */ public void configure(ContourPlot plot) { double minZ = plot.getDataset().getMinZValue(); double maxZ = plot.getDataset().getMaxZValue(); setMinimumValue(minZ); setMaximumValue(maxZ); }
Example #4
Source File: ColorBar.java From ECG-Viewer with GNU General Public License v2.0 | 5 votes |
/** * Configures the color bar. * * @param plot the plot. */ public void configure(ContourPlot plot) { double minZ = plot.getDataset().getMinZValue(); double maxZ = plot.getDataset().getMaxZValue(); setMinimumValue(minZ); setMaximumValue(maxZ); }
Example #5
Source File: ColorBar.java From opensim-gui with Apache License 2.0 | 5 votes |
/** * Configures the color bar. * * @param plot the plot. */ public void configure(ContourPlot plot) { double minZ = plot.getDataset().getMinZValue(); double maxZ = plot.getDataset().getMaxZValue(); setMinimumValue(minZ); setMaximumValue(maxZ); }
Example #6
Source File: ColorBar.java From buffer_bci with GNU General Public License v3.0 | 5 votes |
/** * Configures the color bar. * * @param plot the plot. */ public void configure(ContourPlot plot) { double minZ = plot.getDataset().getMinZValue(); double maxZ = plot.getDataset().getMaxZValue(); setMinimumValue(minZ); setMaximumValue(maxZ); }
Example #7
Source File: ColorBar.java From buffer_bci with GNU General Public License v3.0 | 5 votes |
/** * Configures the color bar. * * @param plot the plot. */ public void configure(ContourPlot plot) { double minZ = plot.getDataset().getMinZValue(); double maxZ = plot.getDataset().getMaxZValue(); setMinimumValue(minZ); setMaximumValue(maxZ); }
Example #8
Source File: DefaultPlotEditor.java From openstock with GNU General Public License v3.0 | 4 votes |
protected JTabbedPane createPlotTabs(Plot plot) { JTabbedPane tabs = new JTabbedPane(); tabs.setBorder(BorderFactory.createEmptyBorder(0, 5, 0, 5)); Axis domainAxis = null; if (plot instanceof CategoryPlot) { domainAxis = ((CategoryPlot) plot).getDomainAxis(); } else if (plot instanceof XYPlot) { domainAxis = ((XYPlot) plot).getDomainAxis(); } this.domainAxisPropertyPanel = DefaultAxisEditor.getInstance( domainAxis); if (this.domainAxisPropertyPanel != null) { this.domainAxisPropertyPanel.setBorder( BorderFactory.createEmptyBorder(2, 2, 2, 2)); tabs.add(localizationResources.getString("Domain_Axis"), this.domainAxisPropertyPanel); } Axis rangeAxis = null; if (plot instanceof CategoryPlot) { rangeAxis = ((CategoryPlot) plot).getRangeAxis(); } else if (plot instanceof XYPlot) { rangeAxis = ((XYPlot) plot).getRangeAxis(); } else if (plot instanceof PolarPlot) { rangeAxis = ((PolarPlot) plot).getAxis(); } this.rangeAxisPropertyPanel = DefaultAxisEditor.getInstance(rangeAxis); if (this.rangeAxisPropertyPanel != null) { this.rangeAxisPropertyPanel.setBorder( BorderFactory.createEmptyBorder(2, 2, 2, 2)); tabs.add(localizationResources.getString("Range_Axis"), this.rangeAxisPropertyPanel); } //dmo: added this panel for colorbar control. (start dmo additions) ColorBar colorBar = null; if (plot instanceof ContourPlot) { colorBar = ((ContourPlot) plot).getColorBar(); } this.colorBarAxisPropertyPanel = DefaultColorBarEditor.getInstance( colorBar); if (this.colorBarAxisPropertyPanel != null) { this.colorBarAxisPropertyPanel.setBorder( BorderFactory.createEmptyBorder(2, 2, 2, 2)); tabs.add(localizationResources.getString("Color_Bar"), this.colorBarAxisPropertyPanel); } //dmo: (end dmo additions) return tabs; }
Example #9
Source File: DefaultPlotEditor.java From ccu-historian with GNU General Public License v3.0 | 4 votes |
protected JTabbedPane createPlotTabs(Plot plot) { JTabbedPane tabs = new JTabbedPane(); tabs.setBorder(BorderFactory.createEmptyBorder(0, 5, 0, 5)); Axis domainAxis = null; if (plot instanceof CategoryPlot) { domainAxis = ((CategoryPlot) plot).getDomainAxis(); } else if (plot instanceof XYPlot) { domainAxis = ((XYPlot) plot).getDomainAxis(); } this.domainAxisPropertyPanel = DefaultAxisEditor.getInstance( domainAxis); if (this.domainAxisPropertyPanel != null) { this.domainAxisPropertyPanel.setBorder( BorderFactory.createEmptyBorder(2, 2, 2, 2)); tabs.add(localizationResources.getString("Domain_Axis"), this.domainAxisPropertyPanel); } Axis rangeAxis = null; if (plot instanceof CategoryPlot) { rangeAxis = ((CategoryPlot) plot).getRangeAxis(); } else if (plot instanceof XYPlot) { rangeAxis = ((XYPlot) plot).getRangeAxis(); } else if (plot instanceof PolarPlot) { rangeAxis = ((PolarPlot) plot).getAxis(); } this.rangeAxisPropertyPanel = DefaultAxisEditor.getInstance(rangeAxis); if (this.rangeAxisPropertyPanel != null) { this.rangeAxisPropertyPanel.setBorder( BorderFactory.createEmptyBorder(2, 2, 2, 2)); tabs.add(localizationResources.getString("Range_Axis"), this.rangeAxisPropertyPanel); } //dmo: added this panel for colorbar control. (start dmo additions) ColorBar colorBar = null; if (plot instanceof ContourPlot) { colorBar = ((ContourPlot) plot).getColorBar(); } this.colorBarAxisPropertyPanel = DefaultColorBarEditor.getInstance( colorBar); if (this.colorBarAxisPropertyPanel != null) { this.colorBarAxisPropertyPanel.setBorder( BorderFactory.createEmptyBorder(2, 2, 2, 2)); tabs.add(localizationResources.getString("Color_Bar"), this.colorBarAxisPropertyPanel); } //dmo: (end dmo additions) return tabs; }
Example #10
Source File: DefaultPlotEditor.java From SIMVA-SoS with Apache License 2.0 | 4 votes |
protected JTabbedPane createPlotTabs(Plot plot) { JTabbedPane tabs = new JTabbedPane(); tabs.setBorder(BorderFactory.createEmptyBorder(0, 5, 0, 5)); Axis domainAxis = null; if (plot instanceof CategoryPlot) { domainAxis = ((CategoryPlot) plot).getDomainAxis(); } else if (plot instanceof XYPlot) { domainAxis = ((XYPlot) plot).getDomainAxis(); } this.domainAxisPropertyPanel = DefaultAxisEditor.getInstance( domainAxis); if (this.domainAxisPropertyPanel != null) { this.domainAxisPropertyPanel.setBorder( BorderFactory.createEmptyBorder(2, 2, 2, 2)); tabs.add(localizationResources.getString("Domain_Axis"), this.domainAxisPropertyPanel); } Axis rangeAxis = null; if (plot instanceof CategoryPlot) { rangeAxis = ((CategoryPlot) plot).getRangeAxis(); } else if (plot instanceof XYPlot) { rangeAxis = ((XYPlot) plot).getRangeAxis(); } else if (plot instanceof PolarPlot) { rangeAxis = ((PolarPlot) plot).getAxis(); } this.rangeAxisPropertyPanel = DefaultAxisEditor.getInstance(rangeAxis); if (this.rangeAxisPropertyPanel != null) { this.rangeAxisPropertyPanel.setBorder( BorderFactory.createEmptyBorder(2, 2, 2, 2)); tabs.add(localizationResources.getString("Range_Axis"), this.rangeAxisPropertyPanel); } //dmo: added this panel for colorbar control. (start dmo additions) ColorBar colorBar = null; if (plot instanceof ContourPlot) { colorBar = ((ContourPlot) plot).getColorBar(); } this.colorBarAxisPropertyPanel = DefaultColorBarEditor.getInstance( colorBar); if (this.colorBarAxisPropertyPanel != null) { this.colorBarAxisPropertyPanel.setBorder( BorderFactory.createEmptyBorder(2, 2, 2, 2)); tabs.add(localizationResources.getString("Color_Bar"), this.colorBarAxisPropertyPanel); } //dmo: (end dmo additions) return tabs; }
Example #11
Source File: DefaultPlotEditor.java From ECG-Viewer with GNU General Public License v2.0 | 4 votes |
protected JTabbedPane createPlotTabs(Plot plot) { JTabbedPane tabs = new JTabbedPane(); tabs.setBorder(BorderFactory.createEmptyBorder(0, 5, 0, 5)); Axis domainAxis = null; if (plot instanceof CategoryPlot) { domainAxis = ((CategoryPlot) plot).getDomainAxis(); } else if (plot instanceof XYPlot) { domainAxis = ((XYPlot) plot).getDomainAxis(); } this.domainAxisPropertyPanel = DefaultAxisEditor.getInstance( domainAxis); if (this.domainAxisPropertyPanel != null) { this.domainAxisPropertyPanel.setBorder( BorderFactory.createEmptyBorder(2, 2, 2, 2)); tabs.add(localizationResources.getString("Domain_Axis"), this.domainAxisPropertyPanel); } Axis rangeAxis = null; if (plot instanceof CategoryPlot) { rangeAxis = ((CategoryPlot) plot).getRangeAxis(); } else if (plot instanceof XYPlot) { rangeAxis = ((XYPlot) plot).getRangeAxis(); } else if (plot instanceof PolarPlot) { rangeAxis = ((PolarPlot) plot).getAxis(); } this.rangeAxisPropertyPanel = DefaultAxisEditor.getInstance(rangeAxis); if (this.rangeAxisPropertyPanel != null) { this.rangeAxisPropertyPanel.setBorder( BorderFactory.createEmptyBorder(2, 2, 2, 2)); tabs.add(localizationResources.getString("Range_Axis"), this.rangeAxisPropertyPanel); } //dmo: added this panel for colorbar control. (start dmo additions) ColorBar colorBar = null; if (plot instanceof ContourPlot) { colorBar = ((ContourPlot) plot).getColorBar(); } this.colorBarAxisPropertyPanel = DefaultColorBarEditor.getInstance( colorBar); if (this.colorBarAxisPropertyPanel != null) { this.colorBarAxisPropertyPanel.setBorder( BorderFactory.createEmptyBorder(2, 2, 2, 2)); tabs.add(localizationResources.getString("Color_Bar"), this.colorBarAxisPropertyPanel); } //dmo: (end dmo additions) return tabs; }
Example #12
Source File: DefaultPlotEditor.java From buffer_bci with GNU General Public License v3.0 | 4 votes |
protected JTabbedPane createPlotTabs(Plot plot) { JTabbedPane tabs = new JTabbedPane(); tabs.setBorder(BorderFactory.createEmptyBorder(0, 5, 0, 5)); Axis domainAxis = null; if (plot instanceof CategoryPlot) { domainAxis = ((CategoryPlot) plot).getDomainAxis(); } else if (plot instanceof XYPlot) { domainAxis = ((XYPlot) plot).getDomainAxis(); } this.domainAxisPropertyPanel = DefaultAxisEditor.getInstance( domainAxis); if (this.domainAxisPropertyPanel != null) { this.domainAxisPropertyPanel.setBorder( BorderFactory.createEmptyBorder(2, 2, 2, 2)); tabs.add(localizationResources.getString("Domain_Axis"), this.domainAxisPropertyPanel); } Axis rangeAxis = null; if (plot instanceof CategoryPlot) { rangeAxis = ((CategoryPlot) plot).getRangeAxis(); } else if (plot instanceof XYPlot) { rangeAxis = ((XYPlot) plot).getRangeAxis(); } else if (plot instanceof PolarPlot) { rangeAxis = ((PolarPlot) plot).getAxis(); } this.rangeAxisPropertyPanel = DefaultAxisEditor.getInstance(rangeAxis); if (this.rangeAxisPropertyPanel != null) { this.rangeAxisPropertyPanel.setBorder( BorderFactory.createEmptyBorder(2, 2, 2, 2)); tabs.add(localizationResources.getString("Range_Axis"), this.rangeAxisPropertyPanel); } //dmo: added this panel for colorbar control. (start dmo additions) ColorBar colorBar = null; if (plot instanceof ContourPlot) { colorBar = ((ContourPlot) plot).getColorBar(); } this.colorBarAxisPropertyPanel = DefaultColorBarEditor.getInstance( colorBar); if (this.colorBarAxisPropertyPanel != null) { this.colorBarAxisPropertyPanel.setBorder( BorderFactory.createEmptyBorder(2, 2, 2, 2)); tabs.add(localizationResources.getString("Color_Bar"), this.colorBarAxisPropertyPanel); } //dmo: (end dmo additions) return tabs; }
Example #13
Source File: DefaultPlotEditor.java From buffer_bci with GNU General Public License v3.0 | 4 votes |
protected JTabbedPane createPlotTabs(Plot plot) { JTabbedPane tabs = new JTabbedPane(); tabs.setBorder(BorderFactory.createEmptyBorder(0, 5, 0, 5)); Axis domainAxis = null; if (plot instanceof CategoryPlot) { domainAxis = ((CategoryPlot) plot).getDomainAxis(); } else if (plot instanceof XYPlot) { domainAxis = ((XYPlot) plot).getDomainAxis(); } this.domainAxisPropertyPanel = DefaultAxisEditor.getInstance( domainAxis); if (this.domainAxisPropertyPanel != null) { this.domainAxisPropertyPanel.setBorder( BorderFactory.createEmptyBorder(2, 2, 2, 2)); tabs.add(localizationResources.getString("Domain_Axis"), this.domainAxisPropertyPanel); } Axis rangeAxis = null; if (plot instanceof CategoryPlot) { rangeAxis = ((CategoryPlot) plot).getRangeAxis(); } else if (plot instanceof XYPlot) { rangeAxis = ((XYPlot) plot).getRangeAxis(); } else if (plot instanceof PolarPlot) { rangeAxis = ((PolarPlot) plot).getAxis(); } this.rangeAxisPropertyPanel = DefaultAxisEditor.getInstance(rangeAxis); if (this.rangeAxisPropertyPanel != null) { this.rangeAxisPropertyPanel.setBorder( BorderFactory.createEmptyBorder(2, 2, 2, 2)); tabs.add(localizationResources.getString("Range_Axis"), this.rangeAxisPropertyPanel); } //dmo: added this panel for colorbar control. (start dmo additions) ColorBar colorBar = null; if (plot instanceof ContourPlot) { colorBar = ((ContourPlot) plot).getColorBar(); } this.colorBarAxisPropertyPanel = DefaultColorBarEditor.getInstance( colorBar); if (this.colorBarAxisPropertyPanel != null) { this.colorBarAxisPropertyPanel.setBorder( BorderFactory.createEmptyBorder(2, 2, 2, 2)); tabs.add(localizationResources.getString("Color_Bar"), this.colorBarAxisPropertyPanel); } //dmo: (end dmo additions) return tabs; }