Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Curve Pattern
%To view plots after 'plot' (and other plot-producing commands) this command must follow: 'print -dpng some_unique_plot_name.png;' %It exports current plot to png image which then is sent to your browser %GNU Octave 4.2.2 n = 8; hold on for i = 1:n x = [i,0]; y = [0,n-i+1]; plot(x,y,"Linewidth",3,"Color",'b'); x = [-i,0]; y = [0,n-i+1]; plot(x,y,"Linewidth",3,"Color",'b'); x = [-i,0]; y = [0,-(n-i+1)]; plot(x,y,"Linewidth",3,"Color",'b'); x = [i,0]; y = [0,-(n-i+1)]; plot(x,y,"Linewidth",3,"Color",'b'); end plot([0,n],[0,0],"Linewidth",3,"Color",'b'); plot([0,0],[0,n],"Linewidth",3,"Color",'b'); plot([0,-n],[0,0],"Linewidth",3,"Color",'b'); plot([0,0],[0,-n],"Linewidth",3,"Color",'b'); axis([-n n -n n]); axis off print -dpng saif.png;
run
|
edit
|
history
|
help
0
Lab1.1
diffusion example carburization of mild steel
Pascal triangle in array programming: APL and GNU Octave + Mastrave
ee
Arnoldirnoldi.m
TEST 2.m
Calculate Mean and Standard Deviation of Random Data
BBPSStep1
prog2
Delsq