Sponsored links: Algebra eBooks
 

Related

set_plot_option-sin

set_plot_option([gnup...

gnuplot_out_fileplot2...

Calculate

set_plot_option

set_plot_option([gnup...

Calculate

set_plot_option

set_plot_option ([gri...

x: 42;

set_plot_option (['x...

Calculate

set_plot_option

? set_plot_option;

Calculate

set_plot_option

set_plot_option([gnup...

Calculate

set_plot_option

set_plot_option ([gri...

Calculate

set_plot_option-sin

set_plot_option ([gri...

Calculate

set_plot_option-sum

res:sum(2^i, i,0,63);

weight:res*0.3;

set_plot_option(['plo...

Calculate

set_plot_option

set_plot_option ([gri...

Calculate

set_plot_option-sin

set_plot_option ([gri...

Calculate

set_plot_option

Run Example
(%i1)load(implicit_plot);
(%o1)      /usr/share/maxima/5.21.1/share/contrib/implicit_plot.lisp
(%i2) line:y=3*x-5;
(%o2)                             y = 3 x - 5
(%i3) circle:(x-2)^2+(y-3)^2=2;
                                   2          2
(%o3)                       (y - 3)  + (x - 2)  = 2
(%i4) equation1:x^2+4*y^2=1;
                                    2    2
(%o4)                            4 y  + x  = 1
(%i5) equation2:x^2-4*y^2=1;
                                  2      2
(%o5)                            x  - 4 y  = 1
(%i6) equation3:y^2=x^3-2*x+1;
                                2    3
(%o6)                          y  = x  - 2 x + 1
(%i7) equation4:y^2=x^3-2*x+5;
                                2    3
(%o7)                          y  = x  - 2 x + 5
(%i8) equation5:y^6=x^2-x^6;
                                  6    2    6
(%o8)                            y  = x  - x
(%i9) equation6:((x^2+y^2-1)^3=x^2*y^3);
                              2    2     3    2  3
(%o9)                       (y  + x  - 1)  = x  y
(%i10) equation7:y=2*x^2-10*x+14;
                                    2
(%o10)                       y = 2 x  - 10 x + 14
(%i11) equation8:x^2-6*x+y^2-8*y+22=0;
                          2          2
(%o11)                   y  - 8 y + x  - 6 x + 22 = 0
(%i12) set_plot_option([gnuplot_preamble,"set size ratio -1"]);
(%o12) [[t, - 3, 3], [grid, 30, 30], [transform_xy, false], 
[run_viewer, true], [axes, true], [plot_format, gnuplot_pipes], 
[color, blue, red, green, magenta, black, cyan], 
[point_type, bullet, circle, plus, times, asterisk, box, square, triangle, 
delta, wedge, nabla, diamond, lozenge], 
[palette, [hue, 0.25, 0.7, 0.8, 0.5], [hue, 0.65, 0.8, 0.9, 0.55], 
[hue, 0.55, 0.8, 0.9, 0.4], [hue, 0.95, 0.7, 0.8, 0.5]], 
[gnuplot_term, default], [gnuplot_out_file, false], [nticks, 29], 
[adapt_depth, 5], [gnuplot_preamble, set size ratio -1], 
[gnuplot_default_term_command, set term pop], 
[gnuplot_dumb_term_command, set term dumb 79 22], [gnuplot_ps_term_command, se\
t size 1.5, 1.5;set term postscript eps enhanced color solid 24], 
[plot_realpart, false]]
(%i13) implicit_plot([equation6],[x,0,7],[y,0,7]);
plotimplicit_plot([equation6],[x,0,7],[y,0,7]);solve([equation7,equation8],[x,y]);
(%o14) [[x = 1.304970075461879, y = 4.356193142057383], 
[x = 1.664051355206847, y = 2.897620365246265], 
[x = 3.121372031662269, y = 2.272207016670814], 
[x = 3.909606299212598, y = 5.473980309423348]]
(%i15) 
Run Example
load(implicit_plot);
(%o1)      /usr/share/maxima/5.21.1/share/contrib/implicit_plot.lisp
(%i2) set_plot_option([gnuplot_preamble,"set size ratio -1"]);
(%o2) [[t, - 3, 3], [grid, 30, 30], [transform_xy, false], [run_viewer, true], 
[axes, true], [plot_format, gnuplot_pipes], 
[color, blue, red, green, magenta, black, cyan], 
[point_type, bullet, circle, plus, times, asterisk, box, square, triangle, 
delta, wedge, nabla, diamond, lozenge], 
[palette, [hue, 0.25, 0.7, 0.8, 0.5], [hue, 0.65, 0.8, 0.9, 0.55], 
[hue, 0.55, 0.8, 0.9, 0.4], [hue, 0.95, 0.7, 0.8, 0.5]], 
[gnuplot_term, default], [gnuplot_out_file, false], [nticks, 29], 
[adapt_depth, 5], [gnuplot_preamble, set size ratio -1], 
[gnuplot_default_term_command, set term pop], 
[gnuplot_dumb_term_command, set term dumb 79 22], [gnuplot_ps_term_command, se\
t size 1.5, 1.5;set term postscript eps enhanced color solid 24], 
[plot_realpart, false]]
(%i3) p:y=2*x^2 + 3*x - 3;
                                     2
(%o3)                         y = 2 x  + 3 x - 3
(%i4) c:x^2 + y^2 +4*x - 4*y -8=0;
                           2          2
(%o4)                     y  - 4 y + x  + 4 x - 8 = 0
(%i5) solve([p,c],[x,y]);
(%o5) [[x = 0.4704679110202, y = - 1.145916182318752], 
[x = - 1.782214421529911, y = - 1.994066882416397], 
[x = 1.297983392645314, y = 4.263471971066908], 
[x = - 2.986236870699022, y = 5.876511226252159]]
(%i6) implicit_plot([p,c], [x,-7,7],[y,-7,7]);
plotimplicit_plot([p,c], [x,-7,7],[y,-7,7]);
Run Example
y = c*x-c^2;
                                            2
(%o1)                            y = c x - c
(%i2) diff(y = c*x-c^2,c);
(%o2)                             0 = x - 2 c
(%i3) solve([y = c*x-c^2,0=x-2*c],[y,c]);
                                      2
                                     x       x
(%o3)                          [[y = --, c = -]]
                                     4       2
(%i4) familia:[1*x-1,2*x-4,3*x-9,4*x-16,5*x-25,6*x-36];
(%o4)       [x - 1, 2 x - 4, 3 x - 9, 4 x - 16, 5 x - 25, 6 x - 36]
(%i5) familia: makelist(c*x-c^2, c, -10, 10);
(%o5) [- 10 x - 100, - 9 x - 81, - 8 x - 64, - 7 x - 49, - 6 x - 36, 
- 5 x - 25, - 4 x - 16, - 3 x - 9, - 2 x - 4, - x - 1, 0, x - 1, 2 x - 4, 
3 x - 9, 4 x - 16, 5 x - 25, 6 x - 36, 7 x - 49, 8 x - 64, 9 x - 81, 
10 x - 100]
(%i6) envolvente:[x^2/2-x^2/4];
                                       2
                                      x
(%o6)                                [--]
                                      4
(%i7) todo:append(familia,envolvente);
(%o7) [- 10 x - 100, - 9 x - 81, - 8 x - 64, - 7 x - 49, - 6 x - 36, 
- 5 x - 25, - 4 x - 16, - 3 x - 9, - 2 x - 4, - x - 1, 0, x - 1, 2 x - 4, 
3 x - 9, 4 x - 16, 5 x - 25, 6 x - 36, 7 x - 49, 8 x - 64, 9 x - 81, 
             2
            x
10 x - 100, --]
            4
(%i8) plot2d(todo, [x,-10,10],[y,-20,20]);
plotplot2d(todo, [x,-10,10],[y,-20,20]);familia: makelist(c*x-c^2, c, -10, 10);
(%o9) [- 10 x - 100, - 9 x - 81, - 8 x - 64, - 7 x - 49, - 6 x - 36, 
- 5 x - 25, - 4 x - 16, - 3 x - 9, - 2 x - 4, - x - 1, 0, x - 1, 2 x - 4, 
3 x - 9, 4 x - 16, 5 x - 25, 6 x - 36, 7 x - 49, 8 x - 64, 9 x - 81, 
10 x - 100]
(%i10) todo:append(familia,envolvente);
(%o10) [- 10 x - 100, - 9 x - 81, - 8 x - 64, - 7 x - 49, - 6 x - 36, 
- 5 x - 25, - 4 x - 16, - 3 x - 9, - 2 x - 4, - x - 1, 0, x - 1, 2 x - 4, 
3 x - 9, 4 x - 16, 5 x - 25, 6 x - 36, 7 x - 49, 8 x - 64, 9 x - 81, 
             2
            x
10 x - 100, --]
            4
(%i11) set_plot_option([gnuplot_preamble,"set nokey"]);
(%o11) [[t, - 3, 3], [grid, 30, 30], [transform_xy, false], 
[run_viewer, true], [axes, true], [plot_format, gnuplot_pipes], 
[color, blue, red, green, magenta, black, cyan], 
[point_type, bullet, circle, plus, times, asterisk, box, square, triangle, 
delta, wedge, nabla, diamond, lozenge], 
[palette, [hue, 0.25, 0.7, 0.8, 0.5], [hue, 0.65, 0.8, 0.9, 0.55], 
[hue, 0.55, 0.8, 0.9, 0.4], [hue, 0.95, 0.7, 0.8, 0.5]], 
[gnuplot_term, default], [gnuplot_out_file, false], [nticks, 29], 
[adapt_depth, 5], [gnuplot_preamble, set nokey], 
[gnuplot_default_term_command, set term pop], 
[gnuplot_dumb_term_command, set term dumb 79 22], [gnuplot_ps_term_command, se\
t size 1.5, 1.5;set term postscript eps enhanced color solid 24], 
[plot_realpart, false]]
(%i12) plot2d(todo, [x,-10,10],[y,-20,20]);
plotplot2d(todo, [x,-10,10],[y,-20,20]);

Related Help

Help for Set_plot_option