|
From: theozh <th...@gm...> - 2017-08-02 09:28:31
|
Hello,
I am trying to plot with a "double loop" into one single plot.
For example something like:
plot for [i=1:5][j=1:5] sin(i*j*x) w l
But a 2D loop apparently does not exist in gnuplot?!
First trial:
set label 1 "This is a double loop"
do for [i=1:5] {
plot for [j=1:5] sin(i*j*x)
}
This basically works, however, the axis and labels are printed several
times on top of each other such that the output (axis and labels) look
blurry or pixelated.
Second trial:
Same thing if I use multiplot.
set multiplot layout 1,1
do for [i=1:5] {
plot for [j=1:5] sin(i*j*x)
set multiplot previous
}
unset multiplot
Third trial:
Unsetting border, label, tics, ... after the first plot
unset border
unset label
unset xtics
However, this changes the following plot sizes...
Any ideas how to circumvent that several identical axis and labels are
plotted on top of each other and start looking blurry/pixelated?
|