Documentation of 'sgtplot.PlotMark' Java class
PlotMark
sgtplot

Class PlotMark

  • Direct Known Subclasses:
    PlotMarkIcon


    public class PlotMark
    extends java.lang.Object
    Support class used to draw a PlotMark. Plot mark codes are defined in the following table.

    Since:
    2.0
    See Also:
    PointCartesianRenderer, PlotMarkIcon
    • Constructor Detail

      • PlotMark

        public PlotMark(LineAttribute attr)
        Construct a PlotMark using the code and height from the LineAttribute.
      • PlotMark

        public PlotMark(PointAttribute attr)
        Construct a PlotMark using the code and height from the PointAttribute.
      • PlotMark

        public PlotMark(int mark)
        Construct a PlotMark using the code from the mark code. Default height = 0.08.
    • Method Detail

      • setPointAttribute

        public void setPointAttribute(PointAttribute attr)
        Set the mark and height from the PointAttribute.
      • setLineAttribute

        public void setLineAttribute(LineAttribute attr)
        Set the mark and height from the LineAttribute.
      • setMark

        public void setMark(int mark)
        Set the mark.
      • getMark

        public int getMark()
        Get the mark code.
      • setMarkHeightP

        public void setMarkHeightP(double mHeight)
        Set the mark height.
      • getMarkHeightP

        public double getMarkHeightP()
        Get the mark height
      • paintMark

        public void paintMark(org.freehep.graphics2d.VectorGraphics g,
                              Layer ly,
                              int xp,
                              int yp)
        Used internally by sgtplot.
      • main

        public static void main(java.lang.String[] args)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.