octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: desired features for gp backend?


From: Rob Mahurin
Subject: Re: desired features for gp backend?
Date: Thu, 18 Jun 2009 13:58:47 -0400

On Jun 18, 2009, at 12:15 PM, John W. Eaton wrote:
On 18-Jun-2009, Rob Mahurin wrote:
| Here's an example I've been thinking about for a while: I'd like
| enough control over Octave's axes to make Tufte's "dot-dash" and
| "range-frame" plots.  There are currently examples of each at
|       http://hupp.org/adam/weblog/category/tufte/
|
| I can do the dot-dash axes in gnuplot with "set border 0" followed by
| "set xtics (...data...)" to put major and minor tics in the right
| place.  But in gnuplot, constructing a command from a datafile is
| something of a major undertaking.  In octave it's now a one-liner
|       set(gca,"xticks", get(get(gca,"children"),"xdata"))
| but that currently puts a label at every point without some clever set
| (gca,"xticklabel"), and apparently I can't yet specify minor ticks.

Do you mean that it is not currently possible to specify minor tick
labels, or the locations of minor ticks?  Is this a limitation in
Octave only, or also Matlab?

I think it is not possible in Octave 3.2.0 to
  (1) draw axis ticks without drawing axis lines
  (2) place minor ticks at arbitrary locations

I don't know much about recent Matlabs. I would like to do these things in Octave.

| It looks like I even sent a patch suggesting an octave syntax for
| axis ticks without lines, but it wasn't accepted:
| http://www.nabble.com/axis-manipulations-in-plots-are- unnecessarily-
| restrictive-td15880016.html

There were a number of replies to your orignal message, and it was
some time ago.  So if there is still something that was not done or
does not work now, please submit a new patch or bug report.


I will have another go at making a patch.

Rob

--
Rob Mahurin
University of Manitoba, Dept. of Physics & Astronomy
at:     Oak Ridge National Laboratory   865 207 2594
        Oak Ridge, Tennessee            address@hidden






reply via email to

[Prev in Thread] Current Thread [Next in Thread]