![]() |
![]() |
#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 |
![]() |
![]() |
![]() |
#13 | ||
"Forget I exist"
Jul 2009
Dartmouth NS
203428 Posts |
![]() Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#14 |
"Forget I exist"
Jul 2009
Dartmouth NS
2×3×23×61 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 2012-08-28 at 15:05 |
![]() |
![]() |
![]() |
#15 |
Aug 2006
598710 Posts |
![]()
Here's a crude technique that works for that case:
Code:
ploth(x=-5,5,sqrt(25-x^2)*(-1)^random(2),64) |
![]() |
![]() |
![]() |
#16 |
Romulan Interpreter
"name field"
Jun 2011
Thailand
19×541 Posts |
![]()
If the threads were merged, then OP's post #8 and my post #10 should be deleted. And this current post too. Thanks.
|
![]() |
![]() |
![]() |
#17 |
"Forget I exist"
Jul 2009
Dartmouth NS
2×3×23×61 Posts |
![]() |
![]() |
![]() |
![]() |
#18 |
"Forget I exist"
Jul 2009
Dartmouth NS
100000111000102 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 2012-08-29 at 21:53 |
![]() |
![]() |
![]() |
#19 |
Romulan Interpreter
"name field"
Jun 2011
Thailand
19×541 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(25-x^2),-sqrt(25-x^2)]) edit: try this for a start: ploth(x=-5,5,[x^3/25,5*sin(x),x*sin(20*x)/5-1.1*x,sqrt(25-x^2),-sqrt(25-x^2)]) Last fiddled with by LaurV on 2012-08-30 at 03:14 |
![]() |
![]() |
![]() |
#20 | |
May 2004
22·79 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#21 | |
"Forget I exist"
Jul 2009
Dartmouth NS
2×3×23×61 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 2012-08-31 at 12:26 |
|
![]() |
![]() |
![]() |
#22 |
Mar 2006
Germany
2,999 Posts |
![]()
A simple graph of a circle in Pari:
Code:
ploth(X=0,2*Pi,[sin(X),cos(X)], "Parametric") |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
What is best in life? Is it PARI/GP? | JM Montolio A | Lounge | 11 | 2018-03-08 06:26 |
Pari/GP to PFGW | carpetpool | Programming | 6 | 2017-12-21 06:04 |
LLL in GP/Pari | paul0 | Programming | 2 | 2015-11-17 13:04 |
PARI vs GAP | skan | Miscellaneous Math | 0 | 2012-12-16 00:13 |
64-bit Pari? | CRGreathouse | Software | 2 | 2009-03-13 04:22 |