This namespace provides the implementation of the plotting functionality.
- Source:
Classes
- AccordionPlugin
- AnnotationPlugin
- BoxesPlugin
- GX
- Layer1D
- Layer2D
- PlaybackControlsPlugin
- Plot
- SIGPLOTLAYER
- SliderPlugin
Members
-
<private, static> cam
-
Map integer abscissa mode to string equivalent.
- Source:
-
<private, static> cxm
-
Map integer cmode to string equivalent.
- Source:
-
<private, static> iOS
-
True if we detected that we are on an iOS device
- Source:
-
<private, static> KEYPRESS_HELP
-
Text of the keypress help dialog.
- Source:
-
<private, static> MAIN_HELP
-
Text of the main help dialog.
- Source:
-
<private, static> mixc
-
Color positions for the various layers
These magic numbers were conjured up by a wizard somewhere.
- Source:
-
<private, static> PointArray
-
- Source:
-
<private, static> SPINNER_OPTS
-
Options used when displaying the spinner.
- Source:
Methods
-
<private, static> basefile()
-
- Source:
-
<private, static> browserIsCompatible()
-
Attempts basic checks to determine if the browser is compatible with sigplot.
- Source:
-
<private, static> changemode()
-
- Source:
-
<private, static> changephunits()
-
- Source:
-
<private, static> coordsInRectangle()
-
- Source:
-
<private, static> delete_layer()
-
- Source:
-
<private, static> disable_listeners()
-
- Source:
-
<private, static> display_specs()
-
- Source:
-
<private, static> drag_scrollbar(plot, scrollAction, event)
-
Direct method to handle the dragging of a scrollbar.
Parameters:
Name Type Description plot
The plot to work with.
scrollAction
The scroll action being performed. Either "YPAN" or "XPAN" are accepted.
event
The mouse move event.
- Source:
-
<private, static> drag_updateRange(Gx, scrollbar, scrollAction, range, event)
-
Method to update plot range based on a drag event. Takes the mouse offset introduced by the drag and adds a scale factor.
Parameters:
Name Type Description Gx
The GX Context to work with.
scrollbar
The Scrollbar to use.
scrollAction
The scroll action being performed. Either "YPAN" or "XPAN" are accepted.
range
The plot' min and max range values to update.
event
The mouse move event.
- Source:
-
<private, static> draw_accessories()
-
- Source:
-
<private, static> draw_crosshairs()
-
- Source:
-
<private, static> draw_layer(the, the)
-
Draws the specified layer.
This is expected to be called after clearing the plot.
Parameters:
Name Type Description the
sigplot.Plot plot object
the
Number layer to draw
- Source:
-
<private, static> draw_legend()
-
- Source:
-
<private, static> draw_panbars()
-
- Source:
-
<private, static> draw_plugins()
-
- Source:
-
<private, static> enable_listeners()
-
- Source:
-
<private, static> form_plotnote()
-
- Source:
-
<private, static> inPanCenterRegion()
-
- Source:
-
<private, static> inPanRegion()
-
- Source:
-
<private, static> middleClickScrollMenuAction(plot, action, direction)
-
Performs the middle-click scroll-menu action specified on the plot.
Parameters:
Name Type Description plot
The plot to work with.
action
The scrollbar action to perform.
direction
The scroll direction to update. Acceptable directions are either "XPAN" or "YPAN".
- Source:
-
<private, static> onScrollbar(position, scrollbar)
-
Returns true if position is within the given scrollbar's area. Depends on mx.scroll_real2pix method.
Parameters:
Name Type Description position
An object containing 'x' and 'y' pixel values that represent a position.
scrollbar
The scrollbar object itself.
- Source:
-
<private, static> pan()
-
- Source:
-
<private, static> pixel_to_real()
-
- Source:
-
<private, static> plot_init()
-
- Source:
-
<private, static> rubberbox_cb()
-
- Source:
-
<private, static> scale_base()
-
- Source:
-
<private, static> setupPrompt()
-
- Source:
-
<private, static> updateViewbox(plot, newMin, newMax, axis)
-
Updates a plot's viewbox along a given axis to the provided min and max values.
Parameters:
Name Type Description plot
The plot to work with.
newMin
The new minimum axis value to use
newMax
The new maximum axis value to use
axis
The axis to update. Acceptable axis values are "X" or "Y".
- Source:
-
<private> sigplot_mainmenu()
-
- Source:
-
<private> sigplot_show_timecode()
-
- Source:
-
<private> sigplot_show_x()
-
- Source:
-
<private> sigplot_show_y()
-
- Source:
-
<private> sigplot_show_z()
-
- Source: