[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to draw a thicker line or a 3D line in 3D space
From: |
Carlo de Falco |
Subject: |
Re: How to draw a thicker line or a 3D line in 3D space |
Date: |
Fri, 24 Oct 2008 08:01:12 +0100 |
On 24/ott/08, at 07:29, Kearan Mc Pherson wrote:
hi
I can draw a line graph in gnuplot, i want to know if i can draw the
line thicker and if possible draw a 3D line, like a rectangular
shape, in 3D space. If it is possible can anyone assist me please
kind regards
knowing what you have in mind from previous posts I think you should
try:
>> x = rand(1,5);
>> y = rand(1,5);
>> t = linspace(0,1,5);
>> tt = linspace(0,1,100);
>> xx = ppval(catmullrom(t,x), tt);
>> yy = ppval(catmullrom(t,y), tt);
>> plot3(tt,xx,yy,'linewidth',3);
typing 'doc Plotting' at the prompt will give you more information
about Octave plotting functions
c.