Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #1617
| From | sfeam <sfeam@users.sourceforge.net> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: splot with dgrid3d / pm3d? |
| Followup-To | comp.graphics.apps.gnuplot |
| Date | 2013-02-09 20:28 -0800 |
| Organization | gnuplot development team |
| Message-ID | <kf77jq$997$1@dont-email.me> (permalink) |
| References | <kf7393$7fb$1@tdi.cu.mi.it> |
Followups directed to: comp.graphics.apps.gnuplot
neurino wrote:
> Dear gnuplotters,
>
> i have 3D data, which look like this
> # x y z
> 1996-12 68 -0.09928498
> 1996-12 69 -0.1597349
> 1996-12 70 -0.009438827
> ...
> ...
> 1997-01 68 -0.09928498
> 1997-01 69 -0.1597349
> 1997-01 70 -0.009438827
>
> and so on, 192 data (x) blocks, each of 141 values (y).
I may not understand the question.
It looks from the *.jpg you point to that you aren't really
trying for a 3D plot, but a 2D heatmap. Is that correct?
If so then neither pm3d nor isosamples are needed.
Try
plot "data" using 2:1:3 with image
There are actually quite a few ways to create a heatmap.
You might have a look at the demos here
http://gnuplot.sourceforge.net/demo_cvs/heatmaps.html
As to smoothing and highlighting, I'd have to know a lot
more about the data structure and what you are looking
for. Maybe a Fourier transform + high frequency filter?
Or just output the heatmap as a PNG image and read it into
an image processing tool like Photoshop or GIMP.
Ethan
>
> The following plot
> http://img39.imageshack.us/img39/8113/cthanzonalfull.jpg
>
> has been created with (relevant commands):
>
> set pm3d map
> set isosample 1200
> set xdata time
> set timefmt "%Y-%m-%d"
> splot f1 u 1:2:3 notitle
>
> However, i'd like to smooth them and highlight patterns.
> I am having difficult times with set dgrid3d, because if i set
>
> set dgrid3d 40,40,16
>
> i get this result
> http://img16.imageshack.us/img16/1641/testiiq.jpg
>
> So, from the demos i don't get how the non-gridded data should be
> preprocessed, having set dgrid3d instead of pm3d, given that the nice
> demos are achieved with splot 1:2:3 too.
>
> Thanks for the help.
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Next in thread | Find similar
splot with dgrid3d / pm3d? neurino <lelli.luca@googlemail.com> - 2013-02-10 04:13 +0100
Re: splot with dgrid3d / pm3d? sfeam <sfeam@users.sourceforge.net> - 2013-02-09 20:28 -0800
Re: splot with dgrid3d / pm3d? neurino <lelli.luca@googlemail.com> - 2013-02-10 15:52 +0100
Re: splot with dgrid3d / pm3d? Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2013-02-10 16:49 +0100
csiph-web