Reputation: 5470
I have a data of the form x:y:z and currently I am plotting this data using Gnuplot with pm3d map. In this file, z values are either 0 or 1 or 2. Now I want to plot similar data from another file and this file in the same graph. Only thing is that from this file, I want to plot only the boundary of the region z=0 and nothing else. But the data from other file should look like a normal pm3d map. Is it possible to do this?
Thank you
Upvotes: 0
Views: 944
Reputation: 3765
you may want to use the contour plot of the second file and the pm3d for the first. be careful you may need to tune gnuplot, somthing like:
set contour
set cntrparam lev disc 0.01 # just to be sure
set pm3d map
unset surface
splot 'file1' w pm3d, 'file2' w l
if you want to remove points on one file based on the values of a second file you need to filter outside unless the two files have the same shape and you can join them together using the unix join or paste command and then filter
Upvotes: 0