Skip to main content
  1. plot 1 :Need the following issues to be resolved in my workbook. please help

Plot 1: Histogram Bin Interval Issue

I'm working with a histogram where the bin size can range from as granular as 0.01 to as large as 5. However, regardless of the bin size I choose, the interval always displays as 0.01.

Why is the bin interval not adjusting according to the selected bin size? For example, if I set the bin size to 5 and all values fall into that bucket, I expect to see just one bar labeled "2.5" which is bin_mid.

Any guidance on how to correctly configure the bin interval would be appreciated.

 

Plot 2: Same Bin Interval Issue

I'm encountering the same issue in Plot 2 as described above.

 

Plot 3: Outlier Appearance in Scatter Plot

In this plot, I'm using bucketing for Mileage and discrete values for Health. The issue arises when there's only one data point in a particular mileage bucket—it appears as an outlier.

To address the scale mismatch (Mileage is numeric, Health is a percentage), I tried fabricating values. I also attempted jittering the scatter plot, but the result looks too cluttered.

Any suggestions on how to improve the clarity of this visualization or better handle the outlier appearance? Also could you help me correct the outliers we are showing for mileage and handling different scales.

Screenshot 2025-07-03 at 1.04.01 PMI tried jittering the scatter plot and it is too clumsy in plot 3 jitter. Any advice to make it better?

 

Plot 4: Swap Date Indicators

Currently, I'm only able to show the minimum and maximum swap dates. However, there are multiple swap dates that I’d like to highlight.

Is there a way to add red lines or markers for all swap dates while keeping the existing fill? Alternatively, can we make the bands dynamic to reflect all swap dates?

If this is too complex, I’m open to leaving it as is.

4 respuestas
  1. 3 jul 2025, 23:49

    please check the attached file.

    for plot 1 and 2, I modified the [bin end]

    for plot 3, I added a minimum size to whisker length if it is 0. also, for this plot how about changing the opacity of the plotted dots?

    for plot 4, I duplicated [discharge] only for swap occurrence and plotted it on a second axis

    please let me know if there are any problems.

0/9000