Closed AnjaCaRa closed 3 years ago
Hi, I haven't been able to reproduce your error with the latest version of methview.qc. However your code was returning other errors, which I fixed.
One error was linked to the fact that the legend was too big for the viewport:
Error in grid.Call(C_convert, x, as.integer(whatfrom), as.integer(whatto), : Viewport has zero dimension(s)
If you come to experience this error, just manually increase the plotting panel within the RStudio interface, and execute the function again.
As a general advice: when defining legends for colors or shapes, it is better to a small amount of possible values. otherwise the legend becomes too big, the colors are too similar, and the interpretation of the plot becomes impossible to the human eye.
Please install the latest version of methview.qc from Github, try again the function, and let me know if it works.
Thank you very much, the plotting is working now!
Great ! I close the issue.
The following function is currently only returning an error: