From: Mario R. R. <rio...@us...> - 2012-02-05 10:40:17
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Maxima, A Computer Algebra System". The branch, master has been updated via 89641eb711992b42d8858501425db64fedc6b4c7 (commit) from bb0b0f79a27a34c426b73b06e5daa50e57d08dbc (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 89641eb711992b42d8858501425db64fedc6b4c7 Author: Mario Rodriguez <rio...@us...> Date: Sun Feb 5 11:39:46 2012 +0100 Update draw documentation diff --git a/doc/info/draw.texi b/doc/info/draw.texi index 5f2fc9b..89d1730 100644 --- a/doc/info/draw.texi +++ b/doc/info/draw.texi @@ -309,6 +309,54 @@ This option is relevant only for 2d @code{explicit} functions. @end defvr +@defvr {Graphic option} allocation +Default value: @code{false} + +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. + +Examples: + +In site graphics. + +@example +(%i1) load(draw)$ +(%i2) draw( + gr2d( + explicit(x^2,x,-1,1)), + gr2d( + allocation = [[1/4, 1/4],[1/2, 1/2]], + explicit(x^3,x,-1,1), + grid = true) ) $ +@end example + +Multiplot with selected dimensions. + +@example +(%i1) load(draw)$ +(%i2) draw( + terminal = wxt, + gr2d( + allocation = [[0, 0],[1, 1/4]], + explicit(x^2,x,-1,1)), + gr3d( + allocation = [[0, 1/4],[1, 3/4]], + explicit(x^2+y^2,x,-1,1,y,-1,1) ))$ +@end example + +See also option @code{columns}. + +@opencatbox +@category{Package draw} +@closecatbox + +@end defvr + @defvr {Graphic option} axis_3d Default value: @code{true} diff --git a/doc/info/es/draw.texi b/doc/info/es/draw.texi index 27b31f7..8a76cf5 100644 --- a/doc/info/es/draw.texi +++ b/doc/info/es/draw.texi @@ -1,4 +1,4 @@ -@c English version 2011-12-08 +@c English version 2012-02-05 @menu * Introducci@'on a draw:: * Funciones y variables para draw:: @@ -278,6 +278,51 @@ Esta opci@'on s@'olo es relevante para funciones de tipo @code{explicit} en 2d. @end defvr +@defvr {Opci@'on gr@'afica} allocation +Valor por defecto: @code{false} + +Con la opci@'on @code{allocation} es posible colocar a voluntad una escena en la +ventana de salida, lo cual resulta de utilidad en el caso de gr@'aficos +m@'ultiples. Cuando la opci@'on toma el valor @code{false}, la escena se coloca +de forma autom@'atica, dependiendo del valor asignado a la opci@'on @code{columns}. +En cualquier otro caso, a @code{allocation} se le debe asignar una lista con dos +pares de n@'umeros; el primero se corresponde con la posici@'on de la esquina +inferior izquierda del gr@'afico y el segundo par hace referencia al ancho y alto +de la escena. Todas las cantidades deben darse en coordenadas relativas, entre +0 y 1. + +Ejemplos: + +Gr@'aficos internos. + +@example +(%i1) load(draw)$ +(%i2) draw( + gr2d( + explicit(x^2,x,-1,1)), + gr2d( + allocation = [[1/4, 1/4],[1/2, 1/2]], + explicit(x^3,x,-1,1), + grid = true) ) $ +@end example + +Multiplot con dimensiones establecidas por el usuario. + +@example +(%i1) load(draw)$ +(%i2) draw( + terminal = wxt, + gr2d( + allocation = [[0, 0],[1, 1/4]], + explicit(x^2,x,-1,1)), + gr3d( + allocation = [[0, 1/4],[1, 3/4]], + explicit(x^2+y^2,x,-1,1,y,-1,1) ))$ +@end example + +V@'ease tambi@'en la opci@'on @code{columns}. +@end defvr + @defvr {Opci@'on gr@'afica} axis_3d ----------------------------------------------------------------------- Summary of changes: doc/info/draw.texi | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ doc/info/es/draw.texi | 47 ++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 94 insertions(+), 1 deletions(-) hooks/post-receive -- Maxima, A Computer Algebra System |