Contour Plots in Gnuplot

  1. 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?
  2. jcsd
  3. Dr Transport

    Dr Transport 1,529
    Science Advisor
    Gold Member

Know someone interested in this topic? Share this thead via email, Google+, Twitter, or Facebook

Have something to add?