On Thu, Oct 15, 2009 at 2:37 PM, Huub van Niekerk
<
huubvanniekerk@...> wrote:
> Hi,
>
> I'm trying to plot this: plot3(sin(x),3,cos(x)) and get the message that x,
> y and z must have the same shape. How can I solve this?
>
> Thanks.
>
use `repmat (3, size (x))'
hth
--
RNDr. Jaroslav Hajek
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz
_______________________________________________
Help-octave mailing list
Help-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave