Documentation of 'jhplot.HMedusa' Java class.
HMedusa
jhplot

Class HMedusa



  • public class HMedusaextends Object
    A Medusa frame to display and work with interactive graphs.
    • Constructor Detail

      • HMedusa

        public HMedusa()
        Initialize the Medusa graph builder.
    • Method Detail

      • visible

        public void visible(boolean vs)
        Set the canvas frame visible.
        Parameters:
        vs - (boolean) true: visible, false: not visible
      • visible

        public void visible()
        Set the canvas frame visible.
      • quit

        public void quit()
        Quit the canvas (and dispose all components).
      • clear

        public void clear()
        Clear the canvas (and dispose all graphs)
      • update

        public void update()
        Update the canvas.
      • add

        public void add(Graph g)
        Add a graph to the editor.
        Parameters:
        graph - graph to be added.
      • setGraph

        public void setGraph(Graph g)
        Add a graph to the editor.
        Parameters:
        graph - graph to be added.
      • getGraph

        public Graph getGraph()
        Get a graph.
        Returns:
        current graph
      • getPanel

        public EditableGraphPanel getPanel()
        Return medusa panel with the graph.
        Returns:
        panel
      • loadFile

        public void loadFile(String file)
        LOad a file with the graph.
        Parameters:
        file - file with the graph.
      • doc

        public void doc()
        Show online documentation.

DMelt 2.7 © DataMelt by jWork.ORG