help-octave
[Top][All Lists]
Advanced

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

Re: plot3 plots surface rather than line


From: Henry F. Mollet
Subject: Re: plot3 plots surface rather than line
Date: Wed, 28 Sep 2005 14:15:54 -0700
User-agent: Microsoft-Entourage/11.1.0.040913

Thanks. Now the example works as it should and I get the helix using Octave.
Henry


on 9/28/05 12:58 PM, John W. Eaton at address@hidden wrote:

> On 28-Sep-2005, address@hidden wrote:
> 
> | Yes!  This is exactly the problem that I'm experiencing.  Is the
> | only solution to downgrade to something less than 2.1.71?
> 
> No, sometimes bugs can be fixed.
> 
> Try the following patch to the __plt3__ function from octave-forge.
> 
> See http://www.octave.org/mailing-lists/octave-graphics/2005/52 for an
> explanation about why this change is needed.  Are there any other
> functions in octave-forge that try to set (no)parametric with
> __gnuplot_raw__?  If so, they should also be fixed.
> 
> jwe
> 
> 
> --- __plt3__.m~ 2005-09-28 15:55:19.000000000 -0400
> +++ __plt3__.m 2005-09-28 15:55:41.000000000 -0400
> @@ -42,7 +42,7 @@
>    endif
>  
>    unwind_protect
> -    __gnuplot_raw__ ("set parametric;\n");
> +    __gnuplot_set__ parametric;
>      __gnuplot_raw__ ("set nohidden3d;\n");
>      for i=1:columns(x)
>        tmp = [x(:,i), y(:,i), z(:,i)];
> @@ -50,6 +50,6 @@
>        eval (cmd);
>      endfor
>    unwind_protect_cleanup
> -    __gnuplot_raw__ ("set noparametric;\n");
> +    __gnuplot_set__ noparametric;
>    end_unwind_protect
>  endfunction




-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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