Documentation of 'jas2.hist.HasSlices' Java class
HasSlices
jas2.hist

Interface HasSlices

    • Method Detail

      • getNSlices

        int getNSlices()
        Number of slices currently attached to plot
      • getSliceParameters

        SliceParameters getSliceParameters(int n)
        Get the parameters of a slice. The SliceParameters can subsequently be changed to update the slice.
        Parameters:
        n - The index of the slice
        Returns:
        The Slice parameters of the slice with the specified index
      • getSlice

        Rebinnable1DHistogramData getSlice(int n)
        Get the data corresponding to the slice. The data will be observable and will notify its observers if the slice changes, or the data from which the slice is derived changes
        Parameters:
        n - The index of the slice
        Returns:
        The data resulting from the slice
      • canAddRemoveSlices

        boolean canAddRemoveSlices()
      • addSlice

        int addSlice(double x,
                     double y,
                     double width,
                     double height,
                     double phi)
        Create a new slice with the specified initial parameters
        Returns:
        the index of the slice that was added
      • removeSlice

        void removeSlice(int n)
        Remove a slice from the source
        Parameters:
        n - The index of the slice

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.