[BACK]Return to ploth CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / pari-2.2 / src / test / 64

File: [local] / OpenXM_contrib / pari-2.2 / src / test / 64 / Attic / ploth (download)

Revision 1.2, Wed Sep 11 07:27:12 2002 UTC (21 years, 9 months ago) by noro
Branch: MAIN
CVS Tags: RELEASE_1_2_3, RELEASE_1_2_2_KNOPPIX_b, RELEASE_1_2_2_KNOPPIX, RELEASE_1_2_2
Changes since 1.1: +14 -14 lines

Upgraded pari-2.2 to pari-2.2.4.

   echo = 1 (on)
? default(realprecision,9)
   realprecision = 19 significant digits (9 digits displayed)
? t=plothsizes();
? plotinit(0,t[1]-11,t[2]-11)
? plotscale(0,0,1000,0,1000);
? plotbox(0,500,500)
? plotdraw([0,0,0])
? psdraw([0,0,0])
? plotcolor(0,2);
? plotmove(0,0,900);plotlines(0,900,0)
? plotlines(0,vector(5,k,50*k),vector(5,k,10*k*k))
? plotmove(0,243,583);plotcursor(0)
[243, 583]
? plot(x=-5,5,sin(x))

0.9995545 x""x_''''''''''''''''''''''''''''''''''_x""x'''''''''''''''''''|
          |    x                                _     "_                 |
          |     x                              _        _                |
          |      x                            _                          |
          |       _                                      "               |
          |                                  "            x              |
          |        x                        _                            |
          |                                                "             |
          |         "                      x                _            |
          |          _                                                   |
          |                               "                  x           |
          ````````````x``````````````````_````````````````````````````````
          |                                                   "          |
          |            "                x                      _         |
          |             _                                                |
          |                            "                        x        |
          |              x            _                                  |
          |               _                                      "       |
          |                          "                            x      |
          |                "        "                              x     |
          |                 "_     "                                x    |
-0.999555 |...................x__x".................................."x__x
          -5                                                             5
? ploth(x=-5,5,sin(x))
[-4.99999999, 5.00000000, -0.999996410, 0.999996411]
? ploth(t=0,2*Pi,[sin(5*t),sin(7*t)])
[0.E-92, 6.28318531, -0.999998763, 0.999998764]
? ploth(t=0,2*Pi,[sin(5*t),sin(7*t)],1,100)
[-0.999874127, 0.999874128, -0.999874127, 0.999874128]
? ploth(t=0,2*Pi,[sin(5*t),sin(7*t)],2,100)
  ***   multi-curves cannot be plot recursively.
? ploth(t=0,2*Pi,[sin(5*t),sin(7*t)],3,100)
[-0.999999999, 1.00000000, -0.999999999, 1.00000000]
? plothraw(vector(501,k,k-1),vector(501,k,(k-1)*(k-1)/500))
[0.E-92, 500.000000, 0.E-92, 500.000000]
? plothraw(vector(501,k,k-1),vector(501,k,(k-1)*(k-1)/500),1)
[0.E-92, 500.000000, 0.E-92, 500.000000]
? plotpoints(0,225,334)
? plotpoints(0,vector(10,k,10*k),vector(10,k,5*k*k))
? psploth(x=-5,5,sin(x))
[-4.99999999, 5.00000000, -0.999996410, 0.999996411]
? psplothraw(vector(501,k,k-1),vector(501,k,(k-1)*(k-1)/500),1)
[0.E-92, 500.000000, 0.E-92, 500.000000]
? plotmove(0,50,50);plotrbox(0,50,50)
? plotrline(0,150,100)
? plotcolor(0,4);
? plotcursor(0)
[200, 150]
? plotrmove(0,5,5);plotcursor(0)
[205, 155]
? plotrpoint(0,20,20)
? plotmove(0,100,100);plotstring(0,Pi)
? plotmove(0,200,200);plotstring(0,"(0,0)")
? plotdraw([0,10,10])
? psdraw([0,10,10])
? print("Total time spent: ",gettime);
Total time spent: 819
? \q