Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #9036 > unrolled thread
| Started by | "E. Martín-Serrano" <eMartinSerrano@telefonica.net> |
|---|---|
| First post | 2012-03-14 05:49 +0000 |
| Last post | 2012-03-14 05:49 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
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
| From | "E. Martín-Serrano" <eMartinSerrano@telefonica.net> |
|---|---|
| Date | 2012-03-14 05:49 +0000 |
| Subject | Re: Trouble Getting Graphic Primitives in a Module to Display with Show Command |
| Message-ID | <jjpbgi$pb1$1@smc.vnet.net> |
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 top | Article view | comp.soft-sys.math.mathematica
csiph-web