URI:
       tsubr.c - plan9port - [fork] Plan 9 from user space
  HTML git clone git://src.adamsgaard.dk/plan9port
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
       tsubr.c (321B)
       ---
            1 #include <u.h>
            2 #include <libc.h>
            3 #include <stdio.h>
            4 #include "iplot.h"
            5 void putnum(int num[], double *ff[]){
            6         double **fp, *xp;
            7         int *np, n,i;
            8         np = num;
            9         fp = ff;
           10         while( (n = *np++)){
           11                 xp = *fp++;
           12                 printf("{ ");
           13                 for(i=0; i<n;i++){
           14                         printf("%g %g ",*xp, *(xp+1));
           15                         if(i&1)printf("\n");
           16                 }
           17                 printf("}\n");
           18         }
           19 }