[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Set number format in plot tick labels?
From: |
Matthias Brennwald |
Subject: |
Set number format in plot tick labels? |
Date: |
Thu, 01 Nov 2007 08:09:06 +0100 |
Dear all
Is there a way to set the number format used in the tick labels of a
plot? I want to print all numbers in exponential notation. For instance:
--------------
x = logspace(3, 7, 5);
semilogx(x,sqrt(x))
--------------
With Octave 2.9.15 and gnuplot this produces a plot with the following
labels on the x axis:
1000 10000 100000 1e+06 1e+07
I'd like the labels to look as follows:
1E3 1E4 1E5 1E6 1E7
Is there a way to achieve this?
Matthias
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Set number format in plot tick labels?,
Matthias Brennwald <=