Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #4053
| From | Karl Ratzsch <mail.kfr@gmx.net> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: dgrid3d and logscale xy with gridded data |
| Date | 2018-11-08 11:17 +0100 |
| Organization | solani.org |
| Message-ID | <ps12f2$7tj$1@solani.org> (permalink) |
| References | <6eaf3631-1502-4e26-9228-487ece8e7bfc@googlegroups.com> |
Am 08.11.2018 um 09:22 schrieb rowlesmr@gmail.com: > 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 would say don't logscale the axes, but plot the logarithmised (is that an adjective?) data: reset set dgrid3d splines 60,60 splot "dat.txt" using (log10($1)):(log10($2)):3 w l If you want your regular (nonlog) axis ticlabels back, you can manually relabel them, or perhaps someone else can help with getting the linked set link x2 via 10**x inverse log10(x) set link y2 via 10**y inverse log10(y) x2 and y2 axes to show. Not sure how/if that works. Karl
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Next in thread | Find similar
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