help-octave
[Top][All Lists]
Advanced

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

Re: question


From: Dmitri A. Sergatskov
Subject: Re: question
Date: Sat, 18 Dec 2010 11:38:49 -0600

On Sat, Dec 18, 2010 at 3:54 AM, Ubald Bauer <address@hidden> wrote:
> Hello,
> I am using Octave for plotting mathematical functions for a high school
> paper.
> I have a question about that:
> I am plotting z=x^2+y^2 with the function image like in the attachment.
> When adding the colorbar, it only reaches from 0 to 1 (see attachment number
> 2), although the it must be from 0 to 50.
> What is my fault? Can you please help me.
> Kind regards,
> Ubald Bauer

You may want to use imagesc() function instead of image()
See

http://www.mathworks.com/help/techdoc/ref/image.html
http://www.mathworks.com/help/techdoc/ref/imagesc.html

for explanation.

Dmitri.
--



reply via email to

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