PDA

View Full Version : Plotting in Linux



krypto_wizard
April 25th, 2006, 05:06 AM
Hi,

I recently used Matlab for one of the small projects. Which app in Linux is closest to Matlab which can do most stuff which it does if not everything ?

Thanks

arnieboy
April 25th, 2006, 05:17 AM
Hi,

I recently used Matlab for one of the small projects. Which app in Linux is closest to Matlab which can do most stuff which it does if not everything ?

Thanks
use labplot.
if u want a clone of Origin, use qtiplot (http://kde-apps.org/content/show.php?content=14826&PHPSESSID=be8efae8f1cb12f75f6ba813bd89c78b)
Matlab also exists for linux by the way though it comes separately.

Parkotron
April 25th, 2006, 05:19 AM
The answer is... Matlab! Mathworks supports Matlab on Windows, Mac and *nix. I believe even possible to share one license between installations on different operating systems.

If, however, you're looking for a free software alternative to Matlab there are a few options, but none of them are as comprehensive as Matlab itself. Scilab, Octave, Euler and GNUPlot all have some Matlab like abilities. Depending on your task, you should probably be able to find one suited to your needs.

[edit] You beat me to it arnieboy.

ow50
April 25th, 2006, 06:14 AM
Which app in Linux is closest to Matlab which can do most stuff which it does if not everything ?
Octave. (http://www.gnu.org/software/octave/)

For plotting:
http://www.gnu.org/software/octave/doc/interpreter/Plotting.html#Plotting

All of Octave's plotting functions use gnuplot to handle the actual graphics. Most types of plots can be generated using the basic plotting functions, which are patterned after the equivalent functions in Matlab. The use of these functions is generally straightforward, and is the preferred method for generating plots. However, for users familiar with gnuplot, or for some specialized applications where the basic commands are inadequate, Octave also provides two low-level functions, gplot and gsplot, that behave almost exactly like the corresponding gnuplot functions plot and splot. Also note that some advanced Matlab features from recent versions are not implemented, such as handle-graphics and related functions.

GoldBuggie
April 25th, 2006, 01:41 PM
I second that for octave. I have thaught some Matlab courses on the University here in Stockholm and on my laptop I use octave. I also recommend it for students wanting to either try linux or for them that has it.

It does however depend on what you want to do. For calculations & plotting of data it is perfect. If you need to write a GUI it won't get you anywere.

Remember that many numerical algoritm packages are free to use. Matlab is built on such software but has other advantaes as well. But I mention it so you don't feel that you are lacking in the numerical algorithm side when you are using octave.


Btw...I use koctave as an editor for octave.

DCDraco
October 24th, 2006, 08:37 PM
I am very intested in getting qtiplot were can I download it for Unbutu drapper?

Lord Illidan
October 24th, 2006, 08:47 PM
You have to pay for a binary, it seems. However, you can get the source and download it yourself, which is what I am doing now. It comes with a readme file.

EDIT : It also seems quite hard...i wonder if someone would care to do a howto?

DCDraco
October 24th, 2006, 09:09 PM
let me know how it goes good luck with it, but do you know if the payment to that web site is trust worthy?

Lord Illidan
October 24th, 2006, 10:16 PM
let me know how it goes good luck with it, but do you know if the payment to that web site is trust worthy?

No idea.. PayPal should be trustworthy..
As for the source code, it needs so many libs etc, that I have a suspicion that the author really doesn't want you to compile it, just so you can pay for the binaries.

DCDraco
October 24th, 2006, 11:08 PM
That is really ******. My flatmate runs SuSe 10.0 on his Dell and he got it for free. Everything work nicely. We were both extreemly impressed with this software. Maybe I will in the just cough up 10 euros for the binary but it would be nice if it could be free. Although so far I cannot find it anywhere that is free. Well thanx for the info. i am very saddened that it didn't work out for you and that the have made it inaccesible for ubuntu useser to get it free.

amo-ej1
October 26th, 2006, 12:16 PM
if you only need plotting and not really matlab you can simply try to use gnuplot, (which is also the backend that octave uses). Personally for simple graphs I simply use gnuplot.

For more advanced things you should take a look at gnu octave.

pla7ma
January 22nd, 2007, 04:05 PM
You can install the rpm packages of suse using the command

alien --to-deb qtiplot-0.8.5-1.pm.1.x86_64.rpm

you also have to install this package which doesn't seem do be included in ubuntu :

alien --to-deb ./qwtplot3d-0.2.6-1.el4.rf.x86_64.rpm

I then used dpkg -i to install the generated packages
If it complains on startup, just use synaptic to install the missing things, they should all be in the ubuntu distro. I did not compile anything to get it going.
The similarity with origin is indeed impressive

fadder
January 22nd, 2007, 05:01 PM
Another good option is matplotlib, which is to be used from python, or eve better from ipython.

der_vegi
April 1st, 2007, 09:29 PM
there is a repository for qtiplot on my university's homepage:

http://debian.physik.hu-berlin.de/

these binaries work for me using feisty on amd64.