Class Plot2D

    • Field Detail

      • DEFAULT

        public static final Atom DEFAULT
        The Atom for the "default" plot ("default"). At least one "default" must be present in the chart in order to be rendered.
    • Constructor Detail

      • Plot2D

        public Plot2D​(java.lang.String name)
        Constructs a new plot from a name.
        Parameters:
        name - The name of the plot. The name MUST be a valid Atom name and cannot start with "$".
        Throws:
        java.lang.NullPointerException - If the name is null.
        java.lang.IllegalArgumentException - If the name is invalid.
      • Plot2D

        public Plot2D()
        Constructs a new plot without a name.

        This constructor is used by the persistence framework and should not be used.

      • Plot2D

        public Plot2D​(Atom atom)
        Constructs a new plot from an Atom name.

        This constructor is used by the persistence framework and should not be used.

        Parameters:
        atom - The atom name.