commit 84bbbc8eeeeac61a523e1f6747d38d750e66f4b2 Author: Sven Riwoldt Date: Sun Feb 11 13:24:24 2024 +0100 Erste Gnuplot diff --git a/gnuplot/Gnuplot in Action - Philipp K. Janert.pdf b/gnuplot/Gnuplot in Action - Philipp K. Janert.pdf new file mode 100755 index 0000000..290be01 Binary files /dev/null and b/gnuplot/Gnuplot in Action - Philipp K. Janert.pdf differ diff --git a/gnuplot/Gnuplot_5_4.pdf b/gnuplot/Gnuplot_5_4.pdf new file mode 100644 index 0000000..dd76483 Binary files /dev/null and b/gnuplot/Gnuplot_5_4.pdf differ diff --git a/gnuplot/gnuplot 5 by lee phillips - Unbekannt.pdf b/gnuplot/gnuplot 5 by lee phillips - Unbekannt.pdf new file mode 100755 index 0000000..668204b Binary files /dev/null and b/gnuplot/gnuplot 5 by lee phillips - Unbekannt.pdf differ diff --git a/gnuplot/gnuplot cookbook - Lee Phillips.pdf b/gnuplot/gnuplot cookbook - Lee Phillips.pdf new file mode 100755 index 0000000..af9e4a5 Binary files /dev/null and b/gnuplot/gnuplot cookbook - Lee Phillips.pdf differ diff --git a/gnuplot/surjektiv001.gp b/gnuplot/surjektiv001.gp new file mode 100644 index 0000000..7fa5508 --- /dev/null +++ b/gnuplot/surjektiv001.gp @@ -0,0 +1,216 @@ +set terminal svg dynamic +set xrange [-1.95:1.95] +set yrange [-1:3.95] +unset border +unset tics +unset key +set origin 0,0 +set grid +set xtics add ("" 0) +set ytics add ("" 0) +set size ratio 1 # quadratisches Koordinatensystem +set arrow from -2.5,0 to 2.5,0 filled back lw 1 +set arrow from 0,-1 to 0,4 filled back lw 1 +f(x)= x**2 +plot x >=-1.85 && x <=1.85 ? f(x) : 1/0 +set output "surjektiv001.svg" +replot + +# history +# unset autoscale x +# +# set autoscale y +# +# show grid +# +# sqrt(x^5) +# +# set xtics add ("" 0) +# +# set ytics add ("" 0) +# +# show border +# +# unset border +# +# load 'lineareAbhaengigkeit01.gp' +# +# #set terminal pdf +# +# #set output "lineareAbhaengigkeit01.pdf" +# +# set output "lineareAbhaengigkeit01.svg" +# +# #https://latex.tugraz.at/spezial/gnuplot +# +# unset autoscale +# +# set origin 0,0 +# +# set grid +# +# set border 0 +# +# set size ratio 1 # quadratisches Koordinatensystem +# +# #set xzeroaxis +# +# #set yzeroaxis +# +# # if arrows in both directions from the origin are wanted +# +# set xrange[-3.3:3.3] +# +# set yrange[-3.3:3.3] +# +#set arrow from 0,0 to 1,2 filled back lw 3 lc rgb "blue" +# +# set arrow from 0,0 to -2,2 filled back lw 3 lc rgb "red" +# +# show output +# +# type set to 'wxt' +# +# Termianl type set to 'wxt' +# +# Terminal type set to 'wxt' +# +# set terminal wxt +# +# plot sin(x); +# +# set xtics -2,2 +# +# set xtics --4,4 +# +# polot (x**2) +# +# no border +# +# noborder +# +# set noborder; +# +# unset border; +# +# unset key +# +# unset tics +# +# set ylabel 'y' +# +# set xlbael 'x' +# +# set xlabel 'x' +# +# set ytics -2,8 +# +# set noborder +# +# set nogrid +# +# set xtics axis +# +# set yrange[-2:5] +# +# set xrange[-3:3] +# +# set size 0.6, 0.6 +# +# set ytics (-2,8) +# +# set size 4, 6 +# +# set size 1, 1 +# +# plot (x**2) +# +# show xlabel +# +# show ylabel +# +# show zlabel +# +# set zeroaxis +# +# show zeroaxis +# +# test +# +# set xzeroaxis +# +# set yzeroaxis +# +# set border 0 # remove frame +# +# set xtics axis # place tics on axis rather than on border +# +# set ytics axis +# + set ticscale 0 # [optional] labels only, no tics +# +# set xtics add ("" 0) # suppress origin label that lies on top of axis +# +# set ytics add ("" 0) # suppress origin label that lies on top of axis +# +# # +# +# # if arrows are wanted only in the positive direction +# +# set arrow 2 from 0,0 to first 0, graph 1 filled head +# +# set arrow 3 from 0,0 to graph 0, first 0 filled head +# +# set arrow 4 from 0,0 to first 0, graph 0 filled head +# +# set arrow 1 from 0,0 to graph 1, first 0 filled head +# +# set arrow 3 from graph 0,0 to -5,5,3 +# +# unset arrows +# +# unset arrow +# +# set arrow 1 from -4,0 to 4,0 filled head +# +# set arrow 1 from -3,0 to 3,0 filled head +# +# set arrow 2 from 0,-2.5 to 0,8 filled head +# +# set arrow 2 from 0,-2.5 to 0,7 filled head +# +# set arrow 2 from 0,-2.5 to 0,6 filled head +# +# set ytics (-2,5) +# +# set ytics (-2...5) +# +# set ytics (-2,...,5) +# +# set ytics (-2:5) +# +# set ytics (-2:4) +# +# set ytics [-2:4] +# +# set y2range [-2:4] +# +# pwd +# +# set terminal png size 400,300 +# +# set output "surjektiv001.png" +# +# set terminal svg +# +# plot NaN t'' +# +# set output "surjektiv001.svg" +# +# replot +# +# save '001' +# +# quit +# +# diff --git a/gnuplot/surjektiv001.svg b/gnuplot/surjektiv001.svg new file mode 100644 index 0000000..342fe44 --- /dev/null +++ b/gnuplot/surjektiv001.svg @@ -0,0 +1,267 @@ + + + +Gnuplot +Produced by GNUPLOT 6.0 patchlevel 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -2 + + + + + + + + + + + + + -1 + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + 2 + + + + + + + + + + + + + 3 + + + + + + + + + + + + + 4 + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + + + + + -2 + + + + + + + + + + + + + -1 + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + f(x) + + + + + + + + + + + + + +