Contour Plots in Gnuplot

by linford86
Tags: contour, gnuplot, plots
linford86 is offline
Jul6-10, 12:35 PM
P: 14
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?
Phys.Org News Partner Science news on
Cougars' diverse diet helped them survive the Pleistocene mass extinction
Cyber risks can cause disruption on scale of 2008 crisis, study says
Mantis shrimp stronger than airplanes
Dr Transport
Dr Transport is offline
Jul7-10, 11:06 PM
Sci Advisor
PF Gold
P: 1,458
I believe you can set the colors, try this website

Register to reply

Related Discussions
How to create Contour plots in Matlab Engineering, Comp Sci, & Technology Homework 7
How to make contour plots for 2D Finite Element problems Atomic, Solid State, Comp. Physics 0
MATLAB and contour plots Math & Science Software 0
Maple contour plots from an array Math & Science Software 0
Can you tell me how to use it to draw a graph? Computing & Technology 3