Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #4052

dgrid3d and logscale xy with gridded data

Newsgroups comp.graphics.apps.gnuplot
Date 2018-11-08 00:22 -0800
Message-ID <6eaf3631-1502-4e26-9228-487ece8e7bfc@googlegroups.com> (permalink)
Subject dgrid3d and logscale xy with gridded data
From rowlesmr@gmail.com

Show all headers | View raw


Hi all

I have some grid data which I would like to plot as a surface. I want the xy axes to be logscale. 

I would like to interpolate the data onto a finer grid so that I can have nice contours and that the colour gradient looks nicer.

As far as I can tell, it looks like dgrid3d does the gridding in linear space, and then logscale does the axis conversion.

How can I grid the data in log space?

I am using 5.2.3 in cygwin

I would prefer a solution that doesn't require any preprocessing, but I'll do what I have to.


Thanks

Matthew

Gnuplot file:
set print "-"
set encoding iso_8859_1
set terminal postscript landscape noenhanced color 16
set key autotitle columnhead

set logscale xy
set yrange [0.005:0.32]

#set dgrid3d 50,50 splines

set pm3d
set pm3d map
set cntrparam levels auto
set contour surface


splot "test_data.dat" using 1:2:3



Data:
max_int	step_size	DW
100	0.005	1.92718469
100	0.01	1.945406878
100	0.02	1.9719939
100	0.04	2.027733129
100	0.08	1.987540226
100	0.12	2.095915571
100	0.16	2.243497982
100	0.2	2.200914291
100	0.25	2.536170465
100	0.32	2.582362109

200	0.005	1.922080138
200	0.01	1.943114254
200	0.02	1.908830871
200	0.04	1.976659557
200	0.08	2.015930765
200	0.12	2.017394686
200	0.16	2.277261198
200	0.2	2.230106043
200	0.25	2.544373702
200	0.32	2.405391925

500	0.005	1.911534878
500	0.01	1.937110712
500	0.02	1.864320908
500	0.04	1.917639601
500	0.08	1.904285929
500	0.12	2.01495058
500	0.16	2.335234864
500	0.2	2.27123227
500	0.25	2.558991849
500	0.32	2.529993735

1000	0.005	1.903636094
1000	0.01	1.875927953
1000	0.02	1.897496924
1000	0.04	1.896882164
1000	0.08	1.860822469
1000	0.12	2.158654614
1000	0.16	2.369366709
1000	0.2	2.423137927
1000	0.25	2.645336172
1000	0.32	2.561662475

2000	0.005	1.948669743
2000	0.01	1.953059557
2000	0.02	1.954844804
2000	0.04	1.819688788
2000	0.08	1.876533405
2000	0.12	2.335667043
2000	0.16	2.514140129
2000	0.2	2.545130258
2000	0.25	2.753036502
2000	0.32	2.624783352

5000	0.005	1.990457685
5000	0.01	1.999078403
5000	0.02	1.968590536
5000	0.04	1.823321331
5000	0.08	1.822711211
5000	0.12	2.383144261
5000	0.16	2.547998973
5000	0.2	2.602990346
5000	0.25	2.798783259
5000	0.32	2.694773601

10000	0.005	1.999906791
10000	0.01	1.974275288
10000	0.02	1.909179316
10000	0.04	1.67382465
10000	0.08	1.85584295
10000	0.12	2.382368496
10000	0.16	2.576510822
10000	0.2	2.64111766
10000	0.25	2.825521985
10000	0.32	2.76628686

20000	0.005	1.974064344
20000	0.01	2.020831301
20000	0.02	1.886662209
20000	0.04	1.495473926
20000	0.08	1.876936697
20000	0.12	2.424220877
20000	0.16	2.616751433
20000	0.2	2.62175483
20000	0.25	2.831476275
20000	0.32	2.706549021

50000	0.005	1.977737605
50000	0.01	2.00174995
50000	0.02	1.677532312
50000	0.04	1.37386872
50000	0.08	1.843441871
50000	0.12	2.429074561
50000	0.16	2.621757241
50000	0.2	2.667843087
50000	0.25	2.842126335
50000	0.32	2.735516091

100000	0.005	2.013785768
100000	0.01	1.947986828
100000	0.02	1.4682124
100000	0.04	1.155720104
100000	0.08	1.854104538
100000	0.12	2.465295243
100000	0.16	2.633206814
100000	0.2	2.647999123
100000	0.25	2.866054205
100000	0.32	2.692980719

200000	0.005	1.978528153
200000	0.01	1.941907436
200000	0.02	1.160797139
200000	0.04	1.054313503
200000	0.08	1.822988818
200000	0.12	2.449780866
200000	0.16	2.622743039
200000	0.2	2.653989198
200000	0.25	2.844730937
200000	0.32	2.72253659

500000	0.005	1.963311053
500000	0.01	1.790893809
500000	0.02	0.816353531
500000	0.04	0.99085604
500000	0.08	1.827746673
500000	0.12	2.447113913
500000	0.16	2.630562851
500000	0.2	2.665898245
500000	0.25	2.849288879
500000	0.32	2.746215682

1000000	0.005	1.978579548
1000000	0.01	1.638211717
1000000	0.02	0.62883382
1000000	0.04	1.017167068
1000000	0.08	1.821273474
1000000	0.12	2.45212022
1000000	0.16	2.623299323
1000000	0.2	2.639852457
1000000	0.25	2.852214806
1000000	0.32	2.747371246

Back to comp.graphics.apps.gnuplot | Previous | NextNext in thread | Find similar


Thread

dgrid3d and logscale xy with gridded data rowlesmr@gmail.com - 2018-11-08 00:22 -0800
  Re: dgrid3d and logscale xy with gridded data Karl Ratzsch <mail.kfr@gmx.net> - 2018-11-08 11:17 +0100
    Re: dgrid3d and logscale xy with gridded data rowlesmr@gmail.com - 2018-11-08 18:43 -0800

csiph-web