Suppose you want to plot 2D functions y=T(x,a) for a parameter a falling within a range, say [-10,10] with 0.1 increments.
Gnuplot has a primitive called reread and an if instruction that you can use to simulate a loop.
So first, write the body of the loop in a text file, say plotTsallis.txt:
# filename: plotTsallis.txt
plot T(x,a)
a=a+0.1;
if (a < 10) reread
Then open the gnuplot program and type:
set terminal png
set out 'C:/tsallisdense.png'
# Tsallis bit entropy
T(x,a)=(1-x**a-(1-x)**a)/(a-1)
set xrange [0:1]
set yrange [0:5]
set size square
unset key
set multiplot
a=-10
# Simulate the loop
load "C:/plotTsallis.txt"
unset multiplot
and here you are with your collection of plots now...
Frank.
Suppose you want to plot 2D functions y=T(x,a) for a parameter a falling within a range, say [-10,10] with 0.1 increments. Gnuplot has a primitive called reread and an if instruction that you can use to simulate a loop.
So first, write the body of the loop in a text file, say plotTsallis.txt:
Then open the gnuplot program and type:
and here you are with your collection of plots now...
Frank.