On Tue, Feb 12, 2013 at 10:20 PM, Craig DeForest
<[email protected]> wrote:

> I hadn't considered using a table file directly, but you certainly can.  The 
> "topcmds", "extracmds", and "bottomcmds" plot options allow you to specify 
> gnuplot commands directly into the command list sent to gnuplot by P::G::G -- 
> you can send a complete gnuplot script in any of those options if you choose 
> to, since they merely ship their contents directly to gnuplot with no 
> checking.  I would stick the "plot 'cont.dat'" into your bottomcmds to make 
> it happen at the bottom of the stack.

Yes, I tried that. Well, this may be a special case: I am trying to
plot contours of scattered (non-gridded) data. To see what is
happening, I try to overlay contours and the non-interpolated points.
Overlaying is the thing that does not work at all, here is what I
tried:
gplot({extracmds => 'plot \'table.dat\' with lines,', bottomcmds =>
'with points'}, $x, $y);

I guess there is a line feed at the end of extracmds that prevent this
working (of course it is needed in the intended use...).

Perhaps it is best to plot also the points from a file and in fact do
the whole thing outside PDL :-).

Why I always end up trying to do exactly the one thing that is not
possible with the tool I choose to use :-D....?

Thanks,
Kaj

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to