20120828, 09:41  #12 
"Lucan"
Dec 2006
England
2·3·13·83 Posts 
Initialize
x = x + dx y= y + dy dx = dx  k*y dy = dy  k*x PLOT (x,y) Keep taking the medicine TRUST ME D 
20120828, 11:49  #13  
"Forget I exist"
Jul 2009
Dumbassville
10000011000000_{2} Posts 
Quote:
Quote:


20120828, 14:51  #14 
"Forget I exist"
Jul 2009
Dumbassville
2^{6}×131 Posts 
yeah I tried doing the ploth version it still needs a copy and paste plus some resizing lol
Last fiddled with by science_man_88 on 20120828 at 15:05 
20120829, 04:03  #15 
Aug 2006
1761_{16} Posts 
Here's a crude technique that works for that case:
Code:
ploth(x=5,5,sqrt(25x^2)*(1)^random(2),64) 
20120829, 10:31  #16 
Romulan Interpreter
Jun 2011
Thailand
5·1,889 Posts 
If the threads were merged, then OP's post #8 and my post #10 should be deleted. And this current post too. Thanks.

20120829, 13:59  #17 
"Forget I exist"
Jul 2009
Dumbassville
8384_{10} Posts 

20120829, 21:41  #18 
"Forget I exist"
Jul 2009
Dumbassville
2^{6}·131 Posts 
how could you ploth a rectwindow with multiple curves/lines in it, I know how to make rectwindows and I know how write to a rectwindow I don't see how to ploth the results.
edit: think I found it (plotrecthraw) but don't see how to get it working,okay got it working but not exactly what I wanted by the looks of it. Last fiddled with by science_man_88 on 20120829 at 21:53 
20120830, 02:59  #19 
Romulan Interpreter
Jun 2011
Thailand
5·1,889 Posts 
Why my solution in post #9 is not good for you?
Pari's "ploth" is a very clever function, it can plot vectors of functions, even recursion, in many different parametric ways. Try playing with the last "1", make it "0" or none. Or RTFM, it has good examples. If you keep that fixed idea of using the sqrt(blabla) function, why not try: ploth(x=5,5,[sqrt(25x^2),sqrt(25x^2)]) edit: try this for a start: ploth(x=5,5,[x^3/25,5*sin(x),x*sin(20*x)/51.1*x,sqrt(25x^2),sqrt(25x^2)]) Last fiddled with by LaurV on 20120830 at 03:14 
20120831, 03:38  #20  
May 2004
100111100_{2} Posts 
pari
Quote:


20120831, 12:22  #21  
"Forget I exist"
Jul 2009
Dumbassville
20300_{8} Posts 
Quote:
plotinit() initializes a rectwindow plotrecth() writes data to a rectwindow plotclip() clips the data to the correct size. but I can't figure out which one draws the results. Last fiddled with by science_man_88 on 20120831 at 12:26 

20120831, 18:08  #22 
Mar 2006
Germany
3^{3}·107 Posts 
A simple graph of a circle in Pari:
Code:
ploth(X=0,2*Pi,[sin(X),cos(X)], "Parametric") 
Thread Tools  
Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
What is best in life? Is it PARI/GP?  JM Montolio A  Lounge  11  20180308 06:26 
Pari/GP to PFGW  carpetpool  Programming  6  20171221 06:04 
LLL in GP/Pari  paul0  Programming  2  20151117 13:04 
PARI vs GAP  skan  Miscellaneous Math  0  20121216 00:13 
64bit Pari?  CRGreathouse  Software  2  20090313 04:22 