Skip to content

Incorrect Y-axis scaling in residuals plot #136

@sbuis

Description

@sbuis

The Y-axis of the residuals plot is incorrectly scaled, leading to a misleading visualization of the residual distribution. In some cases, residual variability appears compressed or exaggerated, which makes it difficult to properly assess model performance and error structure.

This issue can be reproduced with the following example using the data attached:

vars <- c("chargefruit", "CNgrain", "mafruit")
plot(sim,
     obs = obs,
     type = "scatter",
     select_scat = "res",
     var = vars,
     shape_sit = c("symbol")
)

obs_sim.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions