Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #287
| From | Giacomo Boffi <giacomo.boffi@polimi.it> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | plot a section of a splot |
| Date | 2011-05-06 13:53 +0200 |
| Organization | The Sun and The Rain |
| Message-ID | <861v0cjb9e.fsf@aiuole.stru.polimi.it> (permalink) |
i have the usual 3d data file,
# results of a complex simulation
0 0 1
0 10 2
0 20 3
1 0 3
1 10 3
1 20 3
2 0 5
2 10 4
2 20 3
what i want to do is to plot a contour map (and now i have a graph
with all the details in place) and also a section of the surface,
set pm3d map; set contour
splot 'results' with pm3d title 'P_{max}'
plot 'results' where y=10 w l t "P_{max}(x,10)"
is it possible or i have to massage the data file? as in
plot '< awk 'NF==3&&$2==10{print $1,$3} results' w l t "P_{max}(x,10)"
--
> secondo me le vittime della Shoa si stanno rivoltando nella tomba
improbabile. -- PLS, in IFQ
Back to comp.graphics.apps.gnuplot | Previous | Next | Find similar
plot a section of a splot Giacomo Boffi <giacomo.boffi@polimi.it> - 2011-05-06 13:53 +0200
csiph-web