Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #9036

Re: Trouble Getting Graphic Primitives in a Module to Display with Show Command

From "E. Martín-Serrano" <eMartinSerrano@telefonica.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Trouble Getting Graphic Primitives in a Module to Display with Show Command
Date 2012-03-14 05:49 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jjpbgi$pb1$1@smc.vnet.net> (permalink)
References <17979570.11446.1331544406716.JavaMail.root@m06> <201203130808.DAA12921@smc.vnet.net>

Show all headers | View raw


BTW,  in page  196  of  "The Mathematica Graphics Book - Cameron Smith &
Nancy Blanchman  - 1995", (for v 2.2),  there is the following function
which relates 'BoxRatios to ViewPoint'

vprange[br_] := ({-1, 1} #) & /@ (b r/(2.0 Max[br]))

Print["for box ratios  ", N[#], " The view point  is ",    vprange[#]] & /@
{{1, 1, .4}, {1, 1, 1}, {1, 2, 1/2}};

I found this function while trying to extract the ViewPoint (resulting)
setting on a 3D plot after having manipulate it interactively. I wanted to
restore the point view to a convenient "starting" setting by clicking on an
ad-hoc reset button.

I could not spend much time on it since I was unable to make it work and
thought that something had been changed since 1995.

Any suggestion would be appreciate. 

Regards.

E. martin-Serrano


-----Mensaje original-----
De: djmpark [mailto:djmpark@comcast.net] 
Enviado el: martes, 13 de marzo de 2012 9:09
Para: mathgroup@smc.vnet.net
Asunto: Re: Trouble Getting Graphic Primitives in a Module to
Display with Show Command

<The problem is that the behavior of Mathematica with respect to the display
of Graphics has changed since Nancy wrote her book. The display of graphics
used to be a side <effect and the notebook output was uninteresting and so
was suppressed with a ";".  Now the display is the directly generated output
and you no longer want to suppress it. So <just use (without the terminating
<semicolon):




Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Trouble Getting  Graphic Primitives in a Module to Display with Show Command "E. Martín-Serrano" <eMartinSerrano@telefonica.net> - 2012-03-14 05:49 +0000

csiph-web