Disable the greater than sign on contour legend
Moderator: DPlotAdmin
Disable the greater than sign on contour legend
We sometimes have some data that fall beyond the graph extent of 15 (and beyond the color legend we've set). When dplot notices this is the case, it helpfully includes a greater than or equal to sign next to the highest z-value, indicating that the color in question is representing values of 15 and greater.
Unfortunately, this is causing some major grief because the multiple plots need to line up with each other exactly in terms of plot region, legend, etc. Is there a method to disable the behavior?
To be clear, we do not care what happens above 15. The data aren't graphed and we don't assign any colors to z-values greater than 15.
Thanks for your great application!!
Unfortunately, this is causing some major grief because the multiple plots need to line up with each other exactly in terms of plot region, legend, etc. Is there a method to disable the behavior?
To be clear, we do not care what happens above 15. The data aren't graphed and we don't assign any colors to z-values greater than 15.
Thanks for your great application!!
- DPlotAdmin
- Posts: 2312
- Joined: Tue Jun 24, 2003 9:34 pm
- Location: Vicksburg, Mississippi
- Contact:
I'll add a switch to the Contour Options dialog for this. In the meantime, DPlot only shows the > and < if the difference between the top/bottom level and the corresponding data extent is more than one contour interval. For example if your intervals are ...13,14,15 and the maximum Z is 16.1, you'll see >. If it is 15.9, you won't. So you can use Edit>Operate on Z with something like Z=if(Z>15,15.1,Z) and also be sure to set the upper Z extent to 15 using Options>Extents/Intervals/Size.
Visualize Your Data
support@dplot.com
support@dplot.com
- DPlotAdmin
- Posts: 2312
- Joined: Tue Jun 24, 2003 9:34 pm
- Location: Vicksburg, Mississippi
- Contact:
This was a trivial change and it is done. I hope to have a new release turned loose by the coming weekend (Nov 12-13).
Visualize Your Data
support@dplot.com
support@dplot.com
- DPlotAdmin
- Posts: 2312
- Joined: Tue Jun 24, 2003 9:34 pm
- Location: Vicksburg, Mississippi
- Contact:
No, none. I tried a few examples and it worked as expected. Please save your graph as a DPlot file and send it to me.
Visualize Your Data
support@dplot.com
support@dplot.com
- DPlotAdmin
- Posts: 2312
- Joined: Tue Jun 24, 2003 9:34 pm
- Location: Vicksburg, Mississippi
- Contact:
Thanks for your file. The "good" news is I get the same results as you. But whatever is going on, it isn't a recent problem. I tried versions from the summer and got the same results.
There is something odd going on with the "Label every" entry. If you set that to 1, then use Operate on Z, it will work. You can then reset "Label every" and the contour levels to whatever you want. DPlot is attempting to automatically adjust the contour intervals to match the change in Z, but for reasons I haven't found yet (but will soon) that is getting botched up when "Label every" is greater than 1.
There is something odd going on with the "Label every" entry. If you set that to 1, then use Operate on Z, it will work. You can then reset "Label every" and the contour levels to whatever you want. DPlot is attempting to automatically adjust the contour intervals to match the change in Z, but for reasons I haven't found yet (but will soon) that is getting botched up when "Label every" is greater than 1.
Visualize Your Data
support@dplot.com
support@dplot.com
- DPlotAdmin
- Posts: 2312
- Joined: Tue Jun 24, 2003 9:34 pm
- Location: Vicksburg, Mississippi
- Contact:
Found and fixed the problem, which has been there for a while. If you perform any operation that might result in the amplitudes changing (like Operate on Z), DPlot resets the number of intervals and the low and high values to "nice" numbers, generally 20 intervals or fewer. The "fewer" is what causes the crash in your case. DPlot doesn't check against the number of intervals being less than the "Label every" value, which ends up causing a /0 error. This is fixed at my end and will be in the next release.
Visualize Your Data
support@dplot.com
support@dplot.com