[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lines and dots
From: |
A. Scottedward Hodel |
Subject: |
Re: Lines and dots |
Date: |
Mon, 25 Oct 1999 07:45:10 -0500 |
User-agent: |
Microsoft Outlook Express Macintosh Edition - 5.0 (1513) |
> on 10/25/99 6:22 AM, Josep Forest at address@hidden wrote:
> Hi,
>
> Is there anybody who knows how to draw 3-D lines (Polylines) and 3-D
> dots with Octave?
> (Similar to the sentence "line" in Matlab.)
>
> Cheers.
>
> Josep
>
>
Maybe gsplot (splot in gnuplot) will do what you want:
Example:
gset parametric
title(sprintf("Nominal operating points eps_s=%g, %d points",eps_s, ...
length(keepidx)));
xlabel("mach");
ylabel("qBar");
zlabel("alpha");
grid();
gsplot mydata(:,[4 1 2]) with lines title 'Nominal trajectory', ...
mydata(keepidx,[4 1 2]) with points title 'sampled traj. points'
--
A S Hodel Assoc. Prof. Dept Elect and Computer Eng, Auburn Univ,AL
36849-5201
On leave at NASA Marshall Space Flight Center (256) 544-1426
Address until 31 July 2000:Mail Code TD-55, MSFC, Alabama, 35812
http://www.eng.auburn.edu/~scotte
---------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL. To ensure
that development continues, see www.che.wisc.edu/octave/giftform.html
Instructions for unsubscribing: www.che.wisc.edu/octave/archive.html
---------------------------------------------------------------------
- Lines and dots, Josep Forest, 1999/10/25
- Re: Lines and dots,
A. Scottedward Hodel <=