Re: 3D Graphics in a Palette or Dialog
- To: mathgroup at smc.vnet.net
- Subject: [mg93185] Re: [mg93162] 3D Graphics in a Palette or Dialog
- From: Robert Pigeon <robert.pigeon at videotron.ca>
- Date: Thu, 30 Oct 2008 02:02:55 -0500 (EST)
- References: <200810291050.FAA09539@smc.vnet.net>
You could check WindowSize in the documentation. For example:
CreateDocument[
Plot3D[Cos[x] Sin[x], {x, -2 Pi, 2 Pi}, {y, -2 Pi,
Pi}], WindowSize -> All];
Robert
-----Original Message-----
From: Januk [mailto:ggroup at sarj.ca]
Sent: 29 octobre 2008 06:50
To: mathgroup at smc.vnet.net
Subject: [mg93185] [mg93162] 3D Graphics in a Palette or Dialog
Hi,
I am trying to display a 3D graphic in a separate window from my main
notebook. The idea is that as I'm editing the data driving the
graphic (regardless of where I am in the notebook), I can still see
and manipulate the visualization.
I can make this work with a command like:
CreateDocument[{
Plot3D[Cos[x] Sin[y], {x, -2 \[Pi], 2 \[Pi]}, {y, -2 \[Pi], 2 \
[Pi]}]
}]
However, the resulting window usually comes up much too large and in
seemingly random locations on my screen. A much better solution would
be something like:
CreatePalette[{
Plot3D[Cos[x] Sin[y], {x, -2 \[Pi], 2 \[Pi]}, {y, -2 \[Pi],
2 \[Pi]}]
}]
But on my system, the resulting graphic can not be rotated. I get
similar results if I use CreateDialog instead.
Does anyone have suggestions or workarounds which get me the best of
both worlds?
Thanks,
Januk
- References:
- 3D Graphics in a Palette or Dialog
- From: Januk <ggroup@sarj.ca>
- 3D Graphics in a Palette or Dialog