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


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

Problem in using preassigned variable in manipulate

From Pooja Tewari <infratab.poojat@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Problem in using preassigned variable in manipulate
Date 2012-05-04 02:26 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jnveo3$8eq$1@smc.vnet.net> (permalink)

Show all headers | View raw


Hi,

I am new to Mathematica and I have been stuck with this seemingly small issue for some time now - 

x:=.5;

g = Manipulate[
  Plot[Sin[i t], {t, 0, 10}, 
   ImageSize -> Scaled[x]], {i, 1, 5}]

I want to assign the variable x to .5 and then use it in Manipulate function, which plot a graph of sin[i t] and imagesize should be scaled to x( which is already assigned). But when I am deploying this in cdf, I am having this error 

"The specified setting for the option GraphicsBoxOptions, ImageSize cannot be used."

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


Thread

Problem in using preassigned variable in manipulate Pooja Tewari <infratab.poojat@gmail.com> - 2012-05-04 02:26 +0000

csiph-web