Package sc.fiji.snt.viewer
Class MultiViewer2D
java.lang.Object
sc.fiji.snt.viewer.MultiViewer2D
Class for rendering montages of
Trees as 2D plots that can be exported as SVG, PNG or PDF.- Author:
- Tiago Ferreira
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidvoidvoidsetAxesVisible(boolean visible) voidsetColorBarLegend(String lut, double min, double max) voidsetColorBarLegend(net.imglib2.display.ColorTable colorTable, double min, double max, int nDecimalPlaces) <T extends ColorMapper>
voidsetColorBarLegend(T colorMapper) voidsetGridlinesVisible(boolean visible) voidDeprecated.voidsetLayoutColumns(int cols) voidsetOutlineVisible(boolean visible) voidSets the title of this Viewer's frame.voidsetXrange(double xMin, double xMax) Sets a manual range for the viewers' X-axis.voidsetYrange(double yMin, double yMax) Sets a manual range for the viewers' Y-axis.show()
-
Constructor Details
-
MultiViewer2D
-
MultiViewer2D
-
-
Method Details
-
setLayoutColumns
public void setLayoutColumns(int cols) -
setGridlinesVisible
public void setGridlinesVisible(boolean visible) -
setAxesVisible
public void setAxesVisible(boolean visible) -
setOutlineVisible
public void setOutlineVisible(boolean visible) -
setXrange
public void setXrange(double xMin, double xMax) Sets a manual range for the viewers' X-axis. CallingsetXrange(-1, -1)enables auto-range (the default). Must be called before Viewer is fully assembled.- Parameters:
xMin- the lower-limit for the X-axisxMax- the upper-limit for the X-axis
-
setYrange
public void setYrange(double yMin, double yMax) Sets a manual range for the viewers' Y-axis. CallingsetYrange(-1, -1)enables auto-range (the default). Must be called before Viewer is fully assembled.- Parameters:
yMin- the lower-limit for the Y-axisyMax- the upper-limit for the Y-axis
-
setColorBarLegend
-
setColorBarLegend
-
setColorBarLegend
public void setColorBarLegend(net.imglib2.display.ColorTable colorTable, double min, double max, int nDecimalPlaces) -
save
-
setLabel
Deprecated. -
setTitle
Sets the title of this Viewer's frame.- Parameters:
title- the viewer's title.
-
show
-
main
-