Thread: pari
View Single Post
Old 2012-08-28, 04:57   #7
devarajkandadai
 
devarajkandadai's Avatar
 
May 2004

22×79 Posts
Default pari

Quote:
Originally Posted by LaurV View Post
you can type "?10" at pari prompt (without quotes) for help on plotting functions. If you have the bitmaps associated with some application (like ms fax wiewer, ACDSee, whatever) then you can also use "ploth" function. That would make a nice bitmap/jpg/gif from your graphic and send it to the associated application, so you can see it on screen in a nice graphic mode.
Try:

ploth(x=-10,10,sin(x)/x)
Code:
? plot(x=-5,5,sqrt(25-x^2))
4.9993701 |''''''''''''''''''''''__xxx""""""""xxx__''''''''''''''''''''''|
          |                  _xx"                  "xx_                  |
          |               _x"                          "x_               |
          |             _x                                x_             |
          |           _"                                    "_           |
          |         _x                                        x_         |
          |        _                                            _        |
          |       x                                              x       |
          |      "                                                "      |
          |     "                                                  "     |
          |    "                                                    "    |
          |   "                                                      "   |
          |  x                                                        x  |
          |                                                              |
          | "                                                          " |
          |                                                              |
          |x                                                            x|
          |:                                                            :|
          |:                                                            :|
          :                                                              :
          :                                                              :
        0 _,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,_
          -5                                                             5
(10:20) gp >
I got the above which is actually a semi-circle; how do I get a complete circle pl?

Last fiddled with by Batalov on 2012-08-28 at 05:16 Reason: wrapped in [code]
devarajkandadai is offline   Reply With Quote