1
votes

I am making a stream function plot with the following data points in gnuplot:

Streamdata.txt

My gnuplot code is working, but it plots to few streamlines compared when i plot it in matlab. See picture: (matlab plot on the left, gnuplot on the right)

matlab plot on the left, gnuplot on the right

Is there a way, so gnuplot can plot more streamlines? So the plot becomes more similar to the matlab plot

1

1 Answers

3
votes

Gnuplot has several options for adjusting how contours are drawn. In your case, you need to adjust the levels option.

If we do

set cntrparam levels auto 10

and then plot we get

enter image description here

See help cntrparam for more details.