Plotting vertical line with specified color
1 ビュー (過去 30 日間)
I want to visualize the development of a distribution over time.
Therefore I want to plot the distribution of the diameter on the y axis and the time on the x axis, while the probability of the diameter on the y acis is color coded for each time. A quick and dirty example of what I wanna do is shown below, where red stnds for normalized highest probability and blue for zero, in the black area no datapoints are available.
The problem is that I do not have the distribution data for every point on the x xis, just for distinctive points in time.
So there are 2 questions:
Would I realize this with an iage plot, like shown= In this case I would need the make the pixelns on the x axis not linear but relative to my distinctive time steps (not sure how)
Or would I realize it with a plot, with the disadnavntage of not having data for each x point, so there would be much blank space which looke weid and I would need to interpolate my distribution along the x axis, not sure how this shoud be done. Interpolating µ and sigma might lead to error swhen the distribution changes from mono- to bimodal which cant be seen here due to the used spectra, gues i would need to change also tge colorscale so that also little probabiliies can be distinguised from the background. Maybe more luminescence coded instead of color?
So is it possible to change pixel.x scale to distininctive values (close to log scale, but not exactly, or is it possible to interpolate hisogram data that do not suffer from the loss of information due to fitting the distribution? And if lter is possible how to plot vertical line where the color on each y point has a color given by a vector?
Many thanks in advance,