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


Groups > comp.soft-sys.math.mathematica > #1712 > unrolled thread

Sharing numerical data along with a Mathematica notebook

Started byAndrew DeYoung <adeyoung@andrew.cmu.edu>
First post2011-04-16 11:34 +0000
Last post2011-04-17 11:50 +0000
Articles 3 — 3 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Sharing numerical data along with a Mathematica notebook Andrew DeYoung <adeyoung@andrew.cmu.edu> - 2011-04-16 11:34 +0000
    Re: Sharing numerical data along with a Mathematica notebook Armand Tamzarian <mike.honeychurch@gmail.com> - 2011-04-17 11:53 +0000
    Re: Sharing numerical data along with a Mathematica notebook "Nasser M. Abbasi" <nma@12000.org> - 2011-04-17 11:50 +0000

#1712 — Sharing numerical data along with a Mathematica notebook

FromAndrew DeYoung <adeyoung@andrew.cmu.edu>
Date2011-04-16 11:34 +0000
SubjectSharing numerical data along with a Mathematica notebook
Message-ID<ioburt$bbc$1@smc.vnet.net>
Hi,

I use Mathematica a lot to manipulate large lists of numerical data
(rather than another system, because I find Mathematica's plot options much
easier to understand and use).  Often, I like to share my Mathematica
plots (including the raw data) with others.  I typically send the raw
data (such as an Excel file or CSV file) and the Mathematica notebook
with the import commands and the plotted data.  However, this can be a
little complicated, because then my collaborators have to either make
sure to put the Excel file in the same directory as the Mathematica
notebook when they detach it from my email, or I have to put a command
like:

fileName=SystemDialogInput["FileOpen"]
Import[fileName]

which allows the user to use the Windows interface to select where on
their hard drives the Excel file is.  The slight problem with this is
that the user cannot then simply re-execute the entire notebook (to
update the plot after changing their parameters) without again using
the Windows interface to set fileName every time.

Of course, another option is to include the raw data in the same
Mathematica notebook, but this can lead to large and cluttered
notebooks.

My question is, is there any better way that I can saving my numerical
data and sharing it with collaborators?

Thank you,

Andrew DeYoung
Carnegie Mellon University

[toc] | [next] | [standalone]


#1754

FromArmand Tamzarian <mike.honeychurch@gmail.com>
Date2011-04-17 11:53 +0000
Message-ID<ioekcd$n1v$1@smc.vnet.net>
In reply to#1712
On Apr 16, 9:34 pm, Andrew DeYoung <adeyo...@andrew.cmu.edu> wrote:
> Hi,
>
> I use Mathematica a lot to manipulate large lists of numerical data
> (rather than another system, because I find Mathematica's plot options mu=
ch
> easier to understand and use).  Often, I like to share my Mathematica
> plots (including the raw data) with others.  I typically send the raw
> data (such as an Excel file or CSV file) and the Mathematica notebook
> with the import commands and the plotted data.  However, this can be a
> little complicated, because then my collaborators have to either make
> sure to put the Excel file in the same directory as the Mathematica
> notebook when they detach it from my email, or I have to put a command
> like:
>
> fileName=SystemDialogInput["FileOpen"]
> Import[fileName]
>
> which allows the user to use the Windows interface to select where on
> their hard drives the Excel file is.  The slight problem with this is
> that the user cannot then simply re-execute the entire notebook (to
> update the plot after changing their parameters) without again using
> the Windows interface to set fileName every time.
>
> Of course, another option is to include the raw data in the same
> Mathematica notebook, but this can lead to large and cluttered
> notebooks.
>
> My question is, is there any better way that I can saving my numerical
> data and sharing it with collaborators?
>
> Thank you,
>
> Andrew DeYoung
> Carnegie Mellon University


When you speak of large cluttered notebooks, by large do you mean how
many MB for example?

As for cluttered you can hide the data in a section, subsection and so
on. There are numerous ways in a Mathematica notebook to remove cluttering and
keep the focus on specific things.

Mike

[toc] | [prev] | [next] | [standalone]


#1756

From"Nasser M. Abbasi" <nma@12000.org>
Date2011-04-17 11:50 +0000
Message-ID<ioek6e$mt3$1@smc.vnet.net>
In reply to#1712
On 4/16/2011 4:34 AM, Andrew DeYoung wrote:
> Hi,
>
> I use Mathematica a lot to manipulate large lists of numerical data
> (rather than another system, because I find Mathematica's plot options much
> easier to understand and use).  Often, I like to share my Mathematica
> plots (including the raw data) with others.  I typically send the raw
> data (such as an Excel file or CSV file) and the Mathematica notebook
> with the import commands and the plotted data.  However, this can be a
> little complicated, because then my collaborators have to either make
> sure to put the Excel file in the same directory as the Mathematica
> notebook when they detach it from my email, or I have to put a command
> like:
>
> fileName=SystemDialogInput["FileOpen"]
> Import[fileName]
>
> which allows the user to use the Windows interface to select where on
> their hard drives the Excel file is.  The slight problem with this is
> that the user cannot then simply re-execute the entire notebook (to
> update the plot after changing their parameters) without again using
> the Windows interface to set fileName every time.
>
> Of course, another option is to include the raw data in the same
> Mathematica notebook, but this can lead to large and cluttered
> notebooks.
>
> My question is, is there any better way that I can saving my numerical
> data and sharing it with collaborators?
>
> Thank you,
>
> Andrew DeYoung
> Carnegie Mellon University
>

May be put your data in some central location on the internet,
and in the notebook use Import[] to read it?  Import can read ftp
and http. Import can also read zip compressed data.

So, when someone runs your notebook, the data is automatically
downloaded.

--Nasser



[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web