27
$\begingroup$

I am looking for (preferably free) software to:

1) plot 3d points read from a file. A scatter plot would be fine.
2) Optionally color the points by a property - also read from the file

It would be terrific if this program could also compute and display the best fit plane through these points.

  • 0
    Thank for the suggestion - regretfully not a student :(2011-05-24

9 Answers 9

18

There are quite a number of freewares which do that.

  1. Gnuplot, with a very interesting not so frequently asked questions here (archive version), fit is easily obtained. Nice outputs to PDF and LaTeX
  2. Matplotlib: requires Python, so that's probably not your best option if you need to produce graphs quickly, but if you are thinking about a long term solution, I would go for this one,
  3. R, normally for statistical computations, but quite nice plotting possibilities. Also, it is a software which is intended to read data in files, so it has very powerful and easy to use functions to import CSV files and the likes,
  4. Octave not a big fan. Don't know the new major release, though. Previous releases were based on Gnuplot for the graphic part,
  5. Scilab has continuously grown througout the years, so as to become a monster now. Not a big fan either.

Hope you'll find your best choice here !!! Good luck, Sébastien

  • 0
    The link for *not so frequently asked questions* is broken :(. The new link is [here](http://folk.uio.no/hpl/scripting/doc/gnuplot/Kawano/index-e.html)2016-03-01
5

I checked all of the above options out and if you want to plot something in 3D in the next ten minutes, and not ten days from now, check out Graphing Calculator 3D.

4

Asymptote vector graphics language. Check out the gallery of graphs/plots/sketches. Here is very pretty examples/code page from France.

Iso plot Surface plot

3

Another one is Plotly, which is entirely web-based and free for public use.

3d scatter plot

Disclaimer: I help develop Plotly

  • 0
    plotxy is brilliant. can be found at: https://plot.ly2018-07-06
2

DataMelt math program for numeric and statistics computations looks good for plotting functions, data and histograms in 3D, and saving outputs in vector-graphics formats. It is free and written in Java (so, runs on any computer). It is also portable, so no problem with installation.

Here is one example of function and a histogram: enter image description here

1

There is also MayaVi2:

http://mayavi.sourceforge.net/

But I am not sure how it compares with other visualization libraries... would like to hear more comments on it.

  • 0
    the way the OP describes his needs, mayavi would be overkill. But it's IMHO the prettiest of the 3d plotters I've tried. Highly recommended.2017-05-15
0

I personally prefer to use GeoGebra, it has simple plotting functions and nice 3D graphing as well. To input a point, all you need is the ordered triple and it will plot it for you. It can also graph spheres and the like.

Hope this helps.

  • 0
    Can you edit the answer, including a link to the official website of Geogebra and maybe a picture? That would be awesome.2016-08-26