Winston.jl icon indicating copy to clipboard operation
Winston.jl copied to clipboard

plot(y) sometimes doesn't render last array point

Open jlepird opened this issue 11 years ago • 6 comments

The command

using Winston
y = [-.78,-.73,0.33] 
plot(y)

doesn't render correctly-- it draws the first two points, but not the last one. However, the call

plot([1:3],y)

works as expected.

jlepird avatar May 06 '14 03:05 jlepird

Which OS? I can't reproduce this on my mac.

nolta avatar May 06 '14 19:05 nolta

I'm using Ubuntu 14.04

jlepird avatar May 06 '14 19:05 jlepird

Hmm, i haven't had any luck reproducing this. Which version of julia, and which version of Winston?

nolta avatar May 13 '14 18:05 nolta

I'm on the latest (as of May 13) nightly build of the Julia 0.3 pre-release, and using Winston 0.11.0.

jlepird avatar May 13 '14 19:05 jlepird

Thanks. I'm using julia f4d1e9400 + winston 0.11.0 on lubuntu 14.04, and not seeing any problems.

nolta avatar May 13 '14 20:05 nolta

I just ran the same example, on a different computer running Ubuntu 14.04 with the latest Julia nightly and Winston 0.11.0, and am getting the same issue. So although it may be a quirky Linux thing, it is a reproducible one. If it helps, I've attached a screenshot of what I'm seeing.

image

jlepird avatar May 15 '14 22:05 jlepird