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: [mg98965] Re: How to get values from Manipulate
  • From: dh <dh at metrohm.com>
  • Date: Wed, 22 Apr 2009 06:33:03 -0400 (EDT)
  • References: <gsmmrg$cu7$1@smc.vnet.net>


Hi,

simply set some global variable to xmin. >E.g.:

============================

Manipulate[t = xmin;

  ListLinePlot[{1, 3, 2, 3, 2},

   Epilog -> Line[{{xmin, 0}, {xmin, 5}}]], {xmin, 1, 3}]

==========================



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: converting binary data
  • Next by Date: Re: Modifying List Elements.
  • Previous by thread: How to get values from Manipulate
  • Next by thread: Re: How to get values from Manipulate