Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Histograms and Iterators - Beginner Question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg97853] Histograms and Iterators - Beginner Question
  • From: Jon Rogers <jroge at mac.com>
  • Date: Tue, 24 Mar 2009 05:28:44 -0500 (EST)

Hello everyone:

I am a new Mathematica user and have been teaching myself the program  
using real-world examples and reverse-engineering the code. This  
approach has worked well for the last few months since I began, but I  
have run into a roadblock and was hoping someone will help me out.

I am currently trying to import financial data and generate a  
histogram of the daily volume for a given security. Ultimately I am  
going to make this into a sparkline (very useful in my work). Use of  
the options to create the sparkline is clear. Where I am getting stuck  
is the importing and formatting of the data. I think setting up the  
iterators is my problem, but I have tried about every option and have  
not found the answer yet.

I have been using the default examples in the online documentation of  
IBM and March 1, 2004. Here are a few of the approaches I have tried:

Histogram[Table[FinancialData["IBM","Volume"],{"March 1,2004"}]]

Histogram[Table[FinancialData["IBM","Volume",i],{i,"March 1,2004"}]]

Histogram[Table[FinancialData["IBM","Volume",i],{i,"March  
1,2004","March 20,2009"}]]



Any suggestions,

Thanks,

Jon


  • Prev by Date: Re: Question about how to graph the vector field for the differential
  • Next by Date: Re: Got a tip ?
  • Previous by thread: Re: Question about how to graph the vector field for the
  • Next by thread: Re: Histograms and Iterators - Beginner Question