[scilab-Users] Ellipse like plotting

Celso Co celso.co at gmail.com
Thu Dec 24 11:27:21 CET 2009


Dear Nicolay,

Please see attached scilab file.

Regards,
cco

On Tue, Dec 22, 2009 at 7:15 AM, Nikolay Kurevin <kurevin at gmail.com> wrote:
> Hi,
>
> I have found message below, but it still not answered.
> So, _any_ solution to plot function like "-(x^2)-(2/(x-5))"  ?
>
> -->x=(1:0.1:4)';
>
> -->plot2d(x,-(x^2)-(2/(x-5)));
>                           !--error 9
> Inconsistent subtraction.
>
>
> Subject: error plotting an ellipse
> From: Huub ####@####.####
> Date: 9 Jan 2009 17:39:38 +0100
> Message-Id: <gk7uhp$mdn$1 at ger.gmane.org>
> ________________________________
>
> Hi,
>
> Using scilab 4.1 on NetBSD/i386 4.0.1, I'm trying to plot an ellipse with
> equation (x^2/9) + (y^2/4) = 1. However, I get the error "inconsistent
> addition" which seems to be related to "+" and everything behind it:
>
>
> plot(((x**2)/9)+((y**2)/4)=1)
>
> (I made a snapshot, but Pan seems unable to insert it.) What is the
> reason for the error?
>
> Thanks for helping out.
>
> Huub
>
>



-- 
Eng'r Celso B. Co, PhD ECE
Assistant Professor
Dept. of Electronics, Computer, and Communication Engineering,
Loyola Schools of Science and Engineering, Ateneo De Manila
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Question of Nicolai Kurevin.sci
Type: application/octet-stream
Size: 694 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20091224/3c800785/attachment.obj>


More information about the users mailing list