draw package, multiple plots with different sizes?
Subject: draw package, multiple plots with different sizes?
From: Mario Rodriguez
Date: Sun, 05 Feb 2012 12:06:30 +0100
El jue, 19-01-2012 a las 11:55 -0800, dlakelan escribi?:
>
> Thank you very much for the helpful examples! If you are considering
> additional features to add to draw, you might consider a standardized
> (non preamble based) way to do this. It is often nice to do multi-plots
> where some plots are more prominent or have different aspect ratios than
> others, and inset-plots are also quite nice.
Hello,
I have commited to the git repository some changes in the draw package
(files draw.lisp, grcommon.lisp and vtk.lisp) on multiplots (both
Gnuplot and VTK).
Info on new option 'allocation':
With option @code{allocation} it is possible to place a scene in the
output window at will; this is of interest in multiplots. When
@code{false}, the scene is placed automatically, depending on the value
assigned to option @code{columns}. In any other case, @code{allocation}
must be set to a list of two pairs of numbers; the first corresponds to
the position of the lower left corner of the scene, and the second pair
gives the width and height of the plot. All quantities must be given in
relative coordinates, between 0 and 1.
Gnuplot examples:
http://riotorto.users.sourceforge.net/gnuplot/multiplots/index.html#allocation
VTK examples:
http://riotorto.users.sourceforge.net/vtk/multiplot
--
Mario