3
votes
$\begingroup$

I have to plot a graph with log distribution on y axis. The values are: 10^-3..10^3.

What software do you suggest me to use.

My OS is Ubuntu, so I prefer software for Linux.

Thanks.

$\endgroup$

locked by whuber Oct 30 '15 at 21:47

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. See the help center for guidance on writing a good question.

Read more about locked posts here.

4
votes
$\begingroup$

In case you are using LaTeX for your report writing, the package pgfplots can read in data files and plot single or double logarithmic axis. In case you need to do calculations you can escape to gnuplot.

It just looks this tiny bit better if your text font matches your axis labels font.

$\endgroup$
  • $\begingroup$ Indeed I use LaTeX. Also your approach avoids the pain of creating EPSs and importing them. $\endgroup$ – jutky Jul 5 '11 at 3:24
9
votes
$\begingroup$

R is good and can be freely downloaded from http://www.r-project.org/

R takes some time to get used to, but here's a simple example ("#" indicates that a comment follows):

x <- rnorm(20)  # generate a sample of size 20 from N(0,1)
y <- 10^x  # define y_i = 10^(x_i) for each i=1,...,20
plot(x, y)  # plot y vs x
plot(x, y, log="y")  # plot y vs x with log scale for y

Edited after comment from @chl

$\endgroup$
  • 2
    $\begingroup$ Please, give an example of use for semi-log plot in R to make your answer complete and acceptable. $\endgroup$ – chl Jul 4 '11 at 12:15
9
votes
$\begingroup$

You could also use the open source plotting package Gnuplot for this task. The first section of a very readable tutorial here shows how to plot with a log scale.

$\endgroup$
1
vote
$\begingroup$

For a quick and easy graph, you should give GraphCalc a try.

$\endgroup$
0
votes
$\begingroup$

I would use DMelt software environment written in Java Most examples use Python scripting. Look at the class HPlot. It has a support for log scale on X and Y

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.