Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: How to get values from Manipulate

  • To: mathgroup at smc.vnet.net
  • Subject: [mg98963] Re: How to get values from Manipulate
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Wed, 22 Apr 2009 06:32:41 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <gsmmrg$cu7$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de

Hi,

Manipulate[m = xmin;
  ListLinePlot[{data, {{xmin, 0}, {xmin, 100}}}], {xmin, 1, 10}]

and

Dynamic[m]

will show you that m is update when you change it in Manipulate[].

Regards
   Jens


Miroslav Cervenka wrote:
> Hi guys,
> 
> just a simple question related to Manipulate[] - is there a way how to access the values set by slider in Manipulate?
> 
> For example, I have the following code:
> 
> m = Manipulate[
>    ListLinePlot[{
>      data,
>      {{xmin, 0}, {xmin, 100}}
>      }],
>    {xmin, 1, 10}
>    ]
> 
> and after the user sets a value 'xmin', I would like to read it out. How?
> 
> Thanks a lot for any tips!
> 
> Mirek
> 
> 
> ___ Information from ESET Mail Security, ver. 4025 (20090421) ___
> The message was checked by ESET Mail Security. www.eset.com
> 
> 
> 


  • Prev by Date: Re: Modifying List Elements.
  • Next by Date: Re: pure function with optional number of arguments
  • Previous by thread: Re: How to get values from Manipulate
  • Next by thread: Re: How to get values from Manipulate