On Thu, 25 Feb 2010 10:44:33 -0700, "Eric Schulte" <schulte.e...@gmail.com> 
wrote:
> 
> Eric S Fraga <ucec...@ucl.ac.uk> writes:
> 

[...]

> > Well, good intentions is one thing, wrong behaviour is another?  If
> > the user has specified "ind:1 deps:(2)", even if org-plot identifies
> > column 1 as having labels for the tic marks, the generated parameter
> > to the plot command should be, at best:
> >
> >   ... using 1:2:xticlabels(1) ...
> >
> 
> I just applied a patch which results in the above plotting command, and
> yields the following gnuplot error when the table contains an empty line
> 
>  "illegal day of month"
> 
> which to me seems entirely appropriate.

It does indeed seem perfectly appropriate!  Thanks.

> All of the plots form the org-plot page on worg still work with this
> patch (which amounts to org-plot's test suite), so I relatively
> confident that it shouldn't break any existing functionality.
> 
> One problem with org-plot's attempt to guess the best action in each
> situation is that the code will get increasingly ugly as these corner
> cases continue to arise, and as that happens it becomes increasingly
> difficult to know a-priori if a patch will cause unforeseen problems.

Yes, I can imagine.  I guess, for Johan's benefit, that it's best to
move on to org-babel for the more complex problems leaving the direct
gnuplot support for "simple" cases!

Thanks again,
eric


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to