1
$\begingroup$

This question already has an answer here:

I'm trying to use Mathematica for all my scientific needs as much as I can, so I can learn. When I want to plot my experimental data using Mathematica, I've been Import[] and plot data sets. However, in this case, if I need to work in different computer, I had to find both notebook file and data file, which is not convenient compared to other like OriginLab, Matlab and even Excel.

I certainly tried to find the solution, but I can find any simple and easy way. I can import and directly copy all points in notebook like below as I described, but most of time, the data have too many points, which makes it unpractical method.

Is there any easy and simple way to save experimental data points in Mathematica's notebook? So, the notebook is the only thing we need when we need to execute and analyze data. I know there is few methods to save data as different file format (like aaa.mx file), but what I am hopping for is one united notebook with which data set are saved.

I've been doing this very crude way.

enter image description here

Then, expand all data and copy them in notebook as data to save them within notebook.

data = {{17.3913`, 0.000199`}, {17.33102`, 0.000136`}, {17.27116`, 
   0.000215`}, {17.24138`, 0.000128`}, {17.18213`, 
   0.00011`}, {17.12329`, 1.14`}, {17.06485`, 0.273`}, {17.0068`, 
   0.0001`}, {16.94915`, 0.0001`},....{2.004`, 89.02206`}, {2.003`, 88.95633`}, {2.002`, 
   88.83745`}, {2.001`, 88.81386`}, {2, 88.73096`}};

ListLinePlot[data]

This is an example data set, if you want to see. https://www.dropbox.com/s/gvnj604lam9bffu/UVvisNIR%20and%20FTIR_test.csv?dl=0

Any thoughts, solutions and suggestion will be very appreciable. Thank you.

$\endgroup$

marked as duplicate by bbgodfrey, MarcoB, m_goldberg, Jens, Community Feb 29 '16 at 4:26

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.