Dear All,
I am plotting a density and a contour plot of the same function in order to have a smooth shading in the background of the contour lines. I do this using "Show[DensityPlot[...], ContourPlot[..., ContourShading->None]", like the following example given by Mathematica help files...
Dear All,
Its me again! I have "solved" the problem, and I will post here what I did (I hope it helps someone someday :)
All I did was to divide the x-values (0 to 2.5e+06; look in plot 2 attached in the previous post) for 1e+06 (in gnuplot I changed column 1 for "($1/1000000)": please see...
Dear All,
I am using gnuplot to make plots from data files generated using a fortran program. Those data files are basically big lists of 3d coordinates, just like like (not my real data, just an example):
10.0 1.00 0.01
20.0 1.00 0.14
....
So, when I use splot, I...
Hi Simon: thanks for your help!
The post is really about what I am looking for. I just have not figured out (yet) how to import my data file with RGB color " coordinates": his file (colorMapJet.mat) has a HDF5 format:
cMap = Transpose@Import["path-to-colorMapJet.mat", {"HDF5"...
Dear All,
I started to use Mathematica to make some plots I usually did with gnuplot. I know it has some great color schemes, but I would like to be able to use the same I was using in gnuplot.
The question is: how could I create a color scheme? In gnuplot I just used the following command set...
One more question:
When I plot my data in a 3D graphic, it seems that Mathematica "cuts" some data...
I was wondering if its something related to the sample that it uses to make the surface. Do you have any suggestion about this?
Thanks again.
Thank you for all these options! I have just bought Applied Mathematica: Getting Started, Getting it Done" from Amazon for 2.24 dollars :)
I will analyze both other options and choose one of them also (to have a newer book than the one I have just bought).
Thanks for your advice also! As a...
It worked perfectly. Thank you so much for all your help!
Mathematica is really an amazing software: I really want to learn more and more about how to use it!
Do you have any suggestion of a good book to learn more about working with imported data? (not any "for dummies" series, with info that...
In your example it worked, but my data is a little bit different (and it is not working):
lines={{1. 10.}, {2. 20.}, {}, {}, {3. 30.}, {4. 40.}, ...}
Reading Mathematica help about DeleteCases, I understood that it can be used to delete elements from a line, but not delete the line itself...
Bill:
The issue I had was because the 2 empty lines that I have between each block (I use it because I usually plot them in gnuplot, using the index function): they are transformed in empty elements {} in the list:
{{"10.0 .9406", "20.0 .8749", "30.0 .8030", "40.0 .7195",
"50.0 .6190"}, {}...
Dear Bill,
Thank you so much for taking your time to help me with this problem. I have just tried with my dat file and I had some issues but, as you suggested (and as I have just started to use Mathematica)), I will take a small file to understand every command you have used.
Cheers.
Alex
I have a dat file with multiple data sets, with the following structure:
# t = 0.0 , ...
-10.000 0.00001 1.000001 ...
-9.000 0.00002 0.900001 ...
...
10.000 0.00005 1.000001 ...
# t = 0.2 , ...
-10.000 0.00301 1.000203 ...
-9.000 0.02222 0.900043 ...
...
10.000 0.00025 1.000551...