Josef Heinen

Results 263 comments of Josef Heinen
trafficstars

`gr_wctondc` converts the user's "world coordinates" to "normalized device coordinates" [0, 1]

I can't reproduce this in plain `GR`: ```julia using DelimitedFiles using GR y = readdlm("x1.txt") plot(y) plot(y, ylim=(-5,5)) plot(y[1:299], ylim=(-5,5)) plot(y[1:300], ylim=(-5,5)) ``` All those `plot` commands show the expected...

I get the same results when `using Plots`!?

No idea. Works fine both with GR and Plots: ```julia using DelimitedFiles using Plots y = readdlm("x1.txt") plot(y[1:300], ylim=(-5,5)) ``` ![gks](https://user-images.githubusercontent.com/5718244/183378103-727290f2-685d-40ee-8e80-d19f7cfd7316.png)

The extreme values for `y` are `(0.9994831798399888, 1.7257495873203134e151)`. Such huge coorrdinate values lead to problems in most SVG viewers. This is an MWE: ```svg ``` Changing the last number from...

Does this work for you? ```sh env GKS_NO_EXIT_HANDLER=1 julia -e 'using GR; plot(randn(10)); while true; 1+1; end' ```

For me, it doesn't even work in a simple session!? ``` julia -e 'while true; 1+1; end' ``` I have to hit Ctrl/C about a dozen times ...

Hmm. Tried on macOS 12.4 and Ubuntu 22.04 with Julia 1.7.3 and it works fine. Which Linux version are you using?

I have just fixed the problem in GR. It should work in the next release.