Recently in Contour lines Category

Thermal Imaging

We'll end up adding a web page with user-submitted examples eventually, but these are too good to wait for. Paul has been using a FLUKE Ti-32 thermal imager to get IR readings from various objects. A patented feature of the Fluke camera is taking both visible and IR images simultaneously. Paul has graciously provided several images demonstrating this feature, which he went to the trouble of working with solely to show how well DPlot works with this setup... I have to like a user like that :-)

First, the IR image produced by the FLUKE Ti-32:

Paul used DPlot's "Bitmap to 3D" plugin to produce this contour plot:

(Note: This plugin is an optional component with both the licensed and trial versions of DPlot. If you do not see "Bitmap to 3D" on the "Select File Type" dialog under "Plugins", you need to re-run the setup program and ensure that you check the "Image file (BMP, GIF, etc.) to 3D Surface plot" option.)

He then added the photograph of the cup as a background:

Nifty, isn't it?

One more, this time without the photo and using DPlot's Both shades and lines setting, just because it is so darn pretty:

Here's another IR image converted to 3D, in this case of the counter top after removing the cup:

Thanks, Paul!

Finding average Z value in a surface plot

From support e-mail:

Q: DPLOT has been very helpful to me in producing Isolux curves from Excel data.

The question is can I use DPLOT to compute the average lux within an area, or to integrate an area to directly compute the total lumen energy applied there?

Example:

A: DPlot has a couple of features that report the average magnitude for a surface plot (though neither of these is likely what you want). First, in the status bar DPlot shows the minimum, maximum, and average Z values for the displayed surface. (In other words if you zoom in or set the extents to different values, you'll likely see different values here.)

The second method is to use the $MEAN shortcut in any text entry. Here we're using that shortcut in the 3rd title line:

After clicking OK and turning on "Borders" and "Data points", you'll get this:

Note the difference in average value displayed here and in the status bar (1.983469 vs. 3.458373). The difference is due to your original plot having the extents set to 0-50 in both X and Y, while the data goes out to X & Y = 87 or so (and the points at X or Y > 50 are all small magnitudes, which drives the $MEAN value down.)

"Borders" and "Draw points" have been turned on to illustrate the bigger problem with both of these "average" reports: The average (or $MEAN) is simply an average of all values with no consideration given to the spacing between points. Just guessing, but that's probably not what you want since every point has an equal weight in determining the "average" as every other point, regardless of the area affected. What you need is a rectangular grid with evenly-spaced points in the X and Y directions. Select Options>Generate Mesh to produce a grid with evenly-spaced points:

There's no magic involved in setting the number of intervals; any value that produces new points at a higher frequency than your original data will give a more realistic answer than your original plot. The "Bivariate" interpolation scheme generally results in a smoother surface than "Planar", but unless you have a good insight into your data there is usually no justification for using anything more complex than "Planar". The resulting plot, with the options shown above:

The $MEAN value shown here (which will now match the status bar value unless/until you zoom) is a much better guess at an "average" Z.

For your second question: "... or to integrate an area to directly compute the total lumen energy applied there?": Sure. Use Generate>Find Volume Under Surface to... well... find the volume under the surface. This is numerically equivalent to integrating the surface.

If you divide the volume given by that dialog (4272.45) by the total area (2500) you get an "average" Z value of 1.70898, slightly different than the $MEAN value of 1.733036. The difference is due to the $MEAN calculation giving equal weight to all data points, including those along the edges of the surface. Which value is more useful for your particular application? I have no idea :-). Different applications will have different answers.

Contour plots - shades AND lines

From support e-mail:

Q: Am using DPlot 2.0.7.4. I need to know if DPlot can show labels around shaded bands. I have attached an example file.

A: Starting with version 2.2.4.7, yes you can, in 2D views. Here's a 2D view of the mountain range example from the Features page:

Starting with version 2.2.4.7 the Contour Options dialog has a few changes of interest here:

In particular note "Both lines and shades" under "Type" and that the "Contour lines" box has one additional entry and one entry that behaves a bit differently. You can specify a minor line width (in this example I've used 0", which results in a 1-pixel wide line) and the frequency entry, which previously was only used for the frequency of text labels, is now also used to specify which lines are "major". The results, using the options in the dialog above:

The change related to minor contour line widths is of course also useful for Type="Contour lines" plots.

"Both shades and lines" is currently only available with 2D views (and will likely stay that way.)

About this Archive

This page is an archive of recent entries in the Contour lines category.

Find recent content on the main index or look in the archives to find all content.

Categories

Pages

Powered by Movable Type 4.25