~ubuntu-branches/ubuntu/intrepid/plplot/intrepid

« back to all changes in this revision

Viewing changes to examples/c/x01c.c

  • Committer: Bazaar Package Importer
  • Author(s): Rafael Laboissiere
  • Date: 2006-11-04 10:19:34 UTC
  • mfrom: (2.1.8 edgy)
  • Revision ID: james.westby@ubuntu.com-20061104101934-mlirvdg4gpwi6i5q
Tags: 5.6.1-10
* Orphaning the package
* debian/control: Changed the maintainer to the Debian QA Group

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: x01c.c,v 1.39 2004/06/17 06:43:57 rlaboiss Exp $
 
1
/* $Id: x01c.c,v 1.42 2005/10/07 17:53:37 airwin Exp $
2
2
 
3
3
        Simple line plot and multiple windows demo.
4
4
 
18
18
 
19
19
  You should have received a copy of the GNU Library General Public License
20
20
  along with PLplot; if not, write to the Free Software
21
 
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
21
  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22
22
 
23
23
*/
24
24
 
118
118
/* Parse and process command line arguments */
119
119
 
120
120
    plMergeOpts(options, "x01c options", notes);
121
 
    plParseOpts(&argc, argv, PL_PARSE_FULL);
 
121
    plparseopts(&argc, argv, PL_PARSE_FULL);
122
122
 
123
123
/* Get version number, just for kicks */
124
124
 
347
347
 
348
348
    for (i = 0; i < 101; i++) {
349
349
        x[i] = 3.6 * i;
350
 
        y[i] = sin(x[i] * PI / 180.0);
 
350
        y[i] = sin(x[i] * M_PI / 180.0);
351
351
    }
352
352
 
353
353
    plcol0(4);