[Date Index]
[Thread Index]
[Author Index]
Re: 3D Graphics in a Palette or Dialog
*To*: mathgroup at smc.vnet.net
*Subject*: [mg93243] Re: 3D Graphics in a Palette or Dialog
*From*: Januk <ggroup at sarj.ca>
*Date*: Sat, 1 Nov 2008 05:06:15 -0500 (EST)
*References*: <ge9f52$99u$1@smc.vnet.net> <200810300659.BAA00467@smc.vnet.net>
Hi Murray,
WindowMargins does that. You specify the four corners of the window
as offsets from the edges of the screen. However, the help file
recommends that you only specify two and use automatic so that the
window size sets the other two.
Thanks to all that responded. I got this working pretty well for the
purpose I need.
Januk
On Oct 31, 4:06 am, Murray Eisenberg <mur... at math.umass.edu> wrote:
> What, if any, option to CreateDocument will specify the new window's
> position (measured, I presume, from some corner, perhaps the top left,
> of the screen)?
>
>
>
>
>
> Albert Retey wrote:
> > 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?
>
> > CreateDocument[{
> > Plot3D[Cos[x] Sin[y], {x, -2 \[Pi], 2 \[Pi]}, {y, -2 \[Pi],
> > 2 Pi}]},
> > WindowElements -> {}, WindowFrame -> "Palette",
> > WindowSize -> FitAll,
> > WindowMargins -> {{0, Automatic}, {Automatic, 0}}
> > ]
>
> > you might want to look up the option names in the documentation to get
> > the finetuning right...
>
> > hth,
>
> > albert
>
> --
> Murray Eisenberg mur... at math.umass.edu
> Mathematics & Statistics Dept.
> Lederle Graduate Research Tower phone 413 549-1020 (H)
> University of Massachusetts 413 545-2859 (W)
> 710 North Pleasant Street fax 413 545-1801
> Amherst, MA 01003-9305- Hide quoted text -
>
> - Show quoted text -
Prev by Date:
**Re: PDE heat equation (inconsisten problem)**
Next by Date:
**Re: Is there a way to make Mathematica commands and functions**
Previous by thread:
**RE: Re: Re: 3D Graphics in a Palette or Dialog**
Next by thread:
**Re: 3D Graphics in a Palette or Dialog**
| |