mglib

Personal IDL library for M. Galloy

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

vis/lineplots/

mg_plotaspect.pro

graphics computation


Calculates the optimal aspect ratio for a plot of the given values. The best aspect ratio will make most lines slope at about 45 degrees so that anomolies are more easily spotted.

Routines

top mg_plotaspect

result = mg_plotaspect(x [, y])

Calculate aspect ratio for a plot.

Return value

float

Parameters

x in required type=fltarr

x-values of plot if y-values present, otherwise y-values of plot

y in optional type=fltarr

y-values of plot

File attributes

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