mglib

Personal IDL library for M. Galloy

single page | use frames     summary     class     fields     routine details     file attributes

vis/lineplots/

mg_plot.pro

direct graphics


Wrapper for PLOT with better defaults.

Routines

Routines from mg_plot.pro

mg_plot_setdims

Make sure that !d is set correctly.

mg_plot [, x], y [, /slope_aspect] [, xstyle=integer] [, ystyle=integer] [, _extra=keywords]

Wrapper for PLOT routine which has several differences: 1.

Routine details

top mg_plot_setdims

mg_plot_setdims

Make sure that !d is set correctly.

top mg_plot

mg_plot [, x], y [, /slope_aspect] [, xstyle=integer] [, ystyle=integer] [, _extra=keywords]

Wrapper for PLOT routine which has several differences: 1. removes top and right axis frames by default, but may be changed through the XSTYLE or YSTYLE keywords 2. contracts limits of plot to exact x range

Parameters

x in optional type=1D numeric array

x values for plot, defaults just to findgen(n)

y in required type=1D numeric array

y values for plot

Keywords

slope_aspect in optional type=boolean

set to make the average slope of line segments (on display) +/- 1

xstyle in optional type=integer default=9

XSTYLE keyword from PLOT

ystyle in optional type=integer default=9

YSTYLE keyword from PLOT

_extra in optional type=keywords

keywords to PLOT

File attributes

Modification date: Wed May 14 15:07:15 2014
Lines: 52
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.