%% --- HTML-Plotting -----------------------------------------------------------
%%  This is a very nice feature under "R", "python", "julia" and maybe others.
%%  This is possible as well under octave by means of the graphics_toolkit
%%  "gnuplot".
%%  Unfortunatly relevant files (java-script files) are not part of the octave 
%%  distribution (status. Nov-2021).
%%  As a workaround these files can be copied manually into the right folder,
%%  in the print-output-file it can be seen, were these files need to be
%%  located.
%%  In my case the directory "js" need to be copied to the folder:
%%  "..\octave\mingw64\share\js"
%% --- HTML-Plotting -----------------------------------------------------------

x = [0 : pi()/99 : pi()];
y = sin(x);

figure(1);
graphics_toolkit(gcf, 'gnuplot');
s_graphics_toolkit = graphics_toolkit ();
disp(['graphics_toolkit: ', s_graphics_toolkit]);

plot(x, y);

FN_plot         = 'c:\data\octave\tmp\example_sinus.html';
s_Print_format  = '-dcanvas'

print(gcf, s_Print_format, FN_plot); 

