Combining Contour Plots in Gnuplot

  • Thread starter Thread starter linford86
  • Start date Start date
  • Tags Tags
    Gnuplot Plots
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 7K views
linford86
Messages
14
Reaction score
0
I'm trying to combine several contour plots together onto the same graph in gnuplot. I know that I can just do something along the lines of

splot "file1.dat" u 1:2:3 w lines, "file2.dat" u 1:2:3 w lines
set contour base
set no surface
set view 0,0

However, when I do that, the data from file1.dat has different colored contours than the data from file2.dat. Is there any way that I can force gnuplot to output both data sets with the same color?
 
Physics news on Phys.org