Update docs to match implementation of $build_and_dump_html_index
[maxima.git] / doc / info / figures / plotting15.mac
blobe1a03e1458fb3a880816530861d420c1fe04deae
1 display2d:false$
2 with_stdout ("data.txt", for x:0 thru 10 do print (x, x^2, x^3))$
3 data: read_matrix ("data.txt")$
4 plot2d ([discrete,transpose(data)[2],transpose(data)[3]], [style,points],
5   [point_type,diamond], [color,red], [pdf_file,"./plotting15.pdf"]);
6 plot2d ([discrete,transpose(data)[2],transpose(data)[3]], [style,points],
7   [point_type,diamond], [color,red], [png_file,"./plotting15.png"]);