|
From: | florent combes |
Subject: | Re: plot the level of each element of a matrix |
Date: | Thu, 16 Jun 2011 16:24:32 +0200 |
2011/6/16 Jordi Gutiérrez Hermoso <address@hidden>So, my octave version is: "Octave-3.2.4"Please try to avoid top-posting if possible. Mailing list posts are
archived and are easier to read in the future if you trim-post or at
the very least bottom-post.
2011/6/16 florent combes <address@hidden>:
> 2011/6/16 Jordi Gutiérrez Hermoso <address@hidden>
>>
>> On 16 June 2011 08:19, florent combes <address@hidden> wrote:
>> > I would like to plot a matrix in a 3D-graphic, as a plan with the
>> > different levels of each element of the matrix as in this
>> > picture:
>> >
>> > http://meroli.web.cern.ch/meroli/lecture_noise_particle_detector/Lectur5.jpg
>>
>> Try
>>
>> surf(your_matrix)
>>
> When I try to display it with "surf", an error occur:What Octave version, what *exactly* did you type in? Of particular
>
> "invalid value for array property "cdata" "
interest is how you defined your matrix.
- Jordi G. H.
my program is simple:
"
dark = imread("dark_0.png");
surf(dark)
"
The "dark_0.png" is a 1304*1044 picture of dark-level pixels
[Prev in Thread] | Current Thread | [Next in Thread] |