Namespace: sigplot

sigplot

This namespace provides the implementation of the plotting functionality.

Classes

AccordionPlugin
AnnotationPlugin
BoxesPlugin
GX
Layer1D
Layer2D
PlaybackControlsPlugin
Plot
SIGPLOTLAYER
SliderPlugin
Statistics1DPlugin

Members

<private, static> cam

Map integer abscissa mode to string equivalent.

<private, static> cxm

Map integer cmode to string equivalent.

<private, static> iOS

True if we detected that we are on an iOS device

<private, static> KEYPRESS_HELP

Text of the keypress help dialog.

<private, static> MAIN_HELP

Text of the main help dialog.

<private, static> mixc

Color positions for the various layers

These magic numbers were conjured up by a wizard somewhere.

<private, static> PointArray

<private, static> SPINNER_OPTS

Options used when displaying the spinner.

Methods

<private, static> basefile()

<private, static> browserIsCompatible()

Attempts basic checks to determine if the browser is compatible with sigplot.

<private, static> changemode()

<private, static> changephunits()

<private, static> coordsInRectangle()

<private, static> delete_layer()

<private, static> disable_listeners()

<private, static> display_specs()

<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.

<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.

<private, static> draw_accessories()

<private, static> draw_crosshairs()

<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

<private, static> draw_legend()

<private, static> draw_marker()

<private, static> draw_panbars()

<private, static> draw_plugins()

<private, static> enable_listeners()

<private, static> form_plotnote()

<private, static> inPanCenterRegion()

<private, static> inPanRegion()

<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".

<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.

<private, static> pan()

<private, static> pixel_to_real()

<private, static> plot_init()

<private, static> rubberbox_cb()

<private, static> scale_base()

<private, static> setup_cmap()

<private, static> setupPrompt()

<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".

<private> sigplot_mainmenu()

<private> sigplot_show_timecode()

<private> sigplot_show_x()

<private> sigplot_show_y()

<private> sigplot_show_z()

DocStrap Copyright © 2012-2013 The contributors to the JSDoc3 and DocStrap projects.
Documentation generated by JSDoc 3.2.2 on 2016-01-13T22:21:46+00:00 using the DocStrap template.