help-octave
[Top][All Lists]
Advanced

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

Re: How do you get a 3D plot like this in Octave?


From: Ben Abbott
Subject: Re: How do you get a 3D plot like this in Octave?
Date: Sun, 15 May 2011 14:34:48 -0400

On May 14, 2011, at 9:06 PM, Terry Duell wrote:

> Hullo All,
> I am having some problems porting some Matlab code to Octave.
> The thing that is causing me the most trouble right now is how to reproduce a 
> plot as shown in the attached image.
> As best I can understand it, the 3D data (yellow dots) are via the 'scatter3' 
> function, and the grey image views in the x, y and z planes via the 'warp' 
> function, which is missing from Octave.
> Any ideas as how I might tackle this?

My guess is that Matlab is using pcolor() to produce the 2D images.

I've attached a script that produces a plot that is close to what you attached 
in the email.

Ben

Attachment: warp_plot.m
Description: Binary data






reply via email to

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