You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although Plots jl handles missing data and whatnot quite well in linear scales, passing negative values in log scales should behave similarly. Quite often I'm annoyed that zero number isn't displayed on a log scale. What I mean is that 0 in log scales should be displayed like lines into infinity:
Like this (there is a point in negative space but it is just interpreted as a line in MPL):
Quite often I'd like to plot results of FFT in frequency logscale, and it annoys me that I get this zero number warning. It annoys me that I have to just use MPL for this.
This should be addressed somewhere in the processing pipeline. Perhaps x<=0 values should be swapped out with missing early in the pipeline for the log scales.
As Plots follows "plot what you mean" philosophy, this should be a good long term change
The text was updated successfully, but these errors were encountered:
Plots should already skip zero / negative entries, just as it skips Inf / NaN. What it won't do at present is calculate the limits based only on the finite points, but you can provide them. For example:
You could argue that it should have an option to draw a line to Inf, perhaps? But such an option should probably apply equally to linear and log scales.
Of course you can simulate it by clamping, but then the automatic choice of limits won't know to ignore these points:
Among recent issues about log scale, xref also #3594 about warnings for zero/negative, and #3918 about calculation of ticks when the log-scale range is small.
Although Plots jl handles missing data and whatnot quite well in linear scales, passing negative values in log scales should behave similarly. Quite often I'm annoyed that zero number isn't displayed on a log scale. What I mean is that 0 in log scales should be displayed like lines into infinity:
Like this (there is a point in negative space but it is just interpreted as a line in MPL):
Quite often I'd like to plot results of FFT in frequency logscale, and it annoys me that I get this zero number warning. It annoys me that I have to just use MPL for this.
This should be addressed somewhere in the processing pipeline. Perhaps x<=0 values should be swapped out with
missing
early in the pipeline for the log scales.As Plots follows "plot what you mean" philosophy, this should be a good long term change
The text was updated successfully, but these errors were encountered: