Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #287
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.news-service.com!feeder.news-service.com!kanaga.switch.ch!switch.ch!newsserver.news.garr.it!newsserver.cilea.it!not-for-mail |
|---|---|
| From | Giacomo Boffi <giacomo.boffi@polimi.it> |
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | plot a section of a splot |
| Date | Fri, 06 May 2011 13:53:33 +0200 |
| Organization | The Sun and The Rain |
| Lines | 28 |
| Message-ID | <861v0cjb9e.fsf@aiuole.stru.polimi.it> (permalink) |
| NNTP-Posting-Host | aiuole.stru.polimi.it |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| X-Trace | newsserver.cilea.it 1304682689 29722 131.175.189.141 (6 May 2011 11:51:29 GMT) |
| X-Complaints-To | news@cilea.it |
| NNTP-Posting-Date | 6 May 2011 11:51:29 GMT |
| User-Agent | Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.5-b31 (linux) |
| Cancel-Lock | sha1:xepvRuNSIiaImqvYfaQPbd9XLyI= |
| Xref | x330-a1.tempe.blueboxinc.net comp.graphics.apps.gnuplot:287 |
Show key headers only | View raw
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