티스토리 뷰

Maxima

Plot 2D

skyground21 2023. 10. 31. 08:56

 

Parametric plot

 

do not press Stop, click continue twice

 

x=2.5*sin(2*t)

y=0.5*cos(t/2)

variable : t

from: 0 to:20

 

 

 

(%i7) r ( θ ) : = 1  cos ( θ ) ;

r(θ):=1-cos(θ);

(%i8) wxplot2d ( [ ' parametric , r ( t ) · cos ( t ) , r ( t ) · sin ( t ) , [ t , 0 , 20 ] ] , [ nticks , 300 ] , [ x ,  2 . 5 , 0 . 5 ] ,
[ gnuplot_postamble , "set zeroaxis;" ] ) $

 

(%i6) wxplot2d ( [ ' parametric , 2 . 5 · sin ( 2 · t ) , 0 . 5 · cos ( t / 2 ) , [ t , 0 , 20 ] ] , [ nticks , 300 ] , [ x ,  10 , 10 ] ,
[ gnuplot_postamble , "set size ratio 1; set zeroaxis;" ] ) $

 

 

Discrete plot

(%i9)wxplot2d ( [ [ ' discrete , [ 0 , 1 , 2 , 3 , 4 , 5 ] , [ 0 , 2 , 5 , 7 , 9 , 12 ] ] ] , [ x ,  5 , 5 ] ) $

2D Graphs.wxmx
0.27MB

 

반응형
LIST

'Maxima' 카테고리의 다른 글

incorrect syntax  (0) 2024.06.27
Maxima 한글설명서  (0) 2024.05.09
Numeric  (0) 2023.10.25
Autosave 설정하기  (0) 2023.10.19
Matrix  (0) 2023.08.25