0
$\begingroup$

I have a list of data {{date,real},{date,real},...,{date,real}} and I want to use the Manipulate function on the data.

How do I put the data in a form that Manipulate will work on it?

$\endgroup$
3
  • $\begingroup$ Hi, welcome to Mathematica.SE, please consider taking the tour so you learn the basic rules of the site. Your question may be put on-hold because is hard to understand what you are asking (we can't read your code) and you have a simple syntax problem that you could have found in the documentation. Here is consider helpful to include the code in formatted form so we can copy and paste your code. Please help us to help you. $\endgroup$
    – rhermans
    Commented Aug 14, 2015 at 14:00
  • 3
    $\begingroup$ It's not clear what you want to do with this data, therefore it is difficult to give any examples. Please specify your question more clearly. $\endgroup$
    – Mr.Wizard
    Commented Aug 14, 2015 at 14:03
  • $\begingroup$ Possible related question $\endgroup$
    – m_goldberg
    Commented Aug 14, 2015 at 18:47

1 Answer 1

2
$\begingroup$
data = FinancialData["IBM", "Jan. 1, 2014"];

Manipulate[
 Block[
  {x = DatePlus[data[[1, 1]], t]},
  DateListPlot[
   data
   , Epilog -> Line[
     {
      {x, Min@data[[All, 2]]}
      , {x, Max@data[[All, 2]]}
      }]
   ]
  ],
 {t, 0, QuantityMagnitude@
   DateDifference[First@First@data, First@Last@data]}]

enter image description here

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.