Re: Resize dynamic graphics - How?
- To: mathgroup at smc.vnet.net
- Subject: [mg92226] Re: Resize dynamic graphics - How?
- From: Nazdrovje <nazdrovje at gmail.com>
- Date: Tue, 23 Sep 2008 07:34:41 -0400 (EDT)
- References: <gb74gb$e9h$1@smc.vnet.net>
I guess you'd like to adjust the size interactively, otherwise you
could just add ImageSize->600 (or whatever size you'd like) to the
plot function. The usual scaling in the notebook fails because the
locator gets the focus before the usual graphics cell handle.
This will work:
1. add ImageSize-> x to the plot function
2. execute Slider[Dynamic[x], {100, 600}] (* or whatever you like the
image size to be bounded with *)
3. now dt[Cos, 0, 2] will get you a plot that you can adjust using the
slider made in step 2.
Cheers,
Nazdrovje