help-octave
[Top][All Lists]
Advanced

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

Re: howto plot data in 3D


From: pathematica
Subject: Re: howto plot data in 3D
Date: Mon, 18 Oct 2010 14:26:58 -0700 (PDT)

Ben 


bpabbott wrote:
> 
> Both mesh and surf accept a fourth argument which is mapped to the
> colormap.
> 
>       mesh (x, y, z, c)
> 
> Unfortunately the documentation doesn't mention it. I'll add it to the bug
> tracker.
> 
> 

(Octave 3.2.3; Gnuplot 4.4; Ubuntu 10.04)

Inspired by these comments, I have been trying (unsuccessfully) to change
the color of the mesh plot. I have tried a variety of ways to pass the
fourth parameter without success. 

For example, I have tried (attempting "green" - I have also tried without
quotes and small integers):
mesh(tx, ty, tz, "g") 

This provokes a typical error message of the form:
error: surface: z and c must have same size

I would be grateful for any comments. 

Thanks

-- 
View this message in context: 
http://octave.1599824.n4.nabble.com/howto-plot-data-in-3D-tp2967584p3001124.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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