APSIMInitiative / ApsimX

ApsimX is the next generation of APSIM
http://www.apsim.info
Other
132 stars 161 forks source link

Chart lines joining results #5024

Closed jbrider closed 4 years ago

jbrider commented 4 years ago

When displaying experiment results, the chart sometimes draws a line back to 0 - as if it has joined 2 series together. I don't think it happens if using Date (using DaysAfterSowing in that attached file). In the attached file it displays 1 phenology chart different to the next one.

Changing the marker type from None to something - sometimes fixes it - with large markers being displayed - changing the size of the marker does not change the size of those markers.

image image

chartTest.zip

hol353 commented 4 years ago

It always means that you have a multi factor experiment but you are only using one 'Vary By' option in your series. Use another 'Vary By' e.g. Vary By colour and line type.

hol430 commented 4 years ago

As @hol353 says, I'm not sure that the line going back to 0 is necessarily a bug. If you don't want markers on your lines, you can set either line type or colour to 'vary by simulation name', and then set the other option to vary by crop and you should end up with something a bit more readable, although there are still a lot of lines.

The marker size thing is definitely a bug though.

jbrider commented 4 years ago

So basically, underneath it is grouping simulations in a multifactor and treats them as a single series - splitting them apart when you specify a Vary By. I can see how that works - but it has a downside when drawing lines. This can be closed.

On Thu, Apr 9, 2020 at 8:58 AM Drew Holzworth notifications@github.com wrote:

As @hol353 https://github.com/hol353 says, I'm not sure that the line going back to 0 is necessarily a bug. If you don't want markers on your lines, you can set either line type or colour to 'vary by simulation name', and then set the other option to vary by crop and you should end up with something a bit more readable, although there are still a lot of lines.

The marker size thing is definitely a bug though.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/APSIMInitiative/ApsimX/issues/5024#issuecomment-611236157, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE3G7G5UKFZX33WHDMU6ODRLT6P7ANCNFSM4MDVHG3A .