using Plots
import Contour: contours, levels, level, lines, coordinates
f(x,y) = 2 - (x^2 + y^2)
xs = range(-5, stop=5, length=100)
ys = range(-5, stop=5, length=100)
zs = [f(x,y) for y in ys, x in xs]
gr()
contour(xs, ys, zs, levels = [-1.0, 0.0, 1.0])
a big error message apperars and Julia restart. See:
julia> GKS: file open error (C:\Users\Usuário\.julia\packages\GR\RlE5Y\src\..\deps\gr\FONTS\GKSFONT.DAT)
open: No such file or directory
GKS: svgplugin.dll: can't load library, error 126 (0x7e)
GKS: could not open font file: C:\Users\Usuário\.julia\packages\GR\RlE5Y\src\..\deps\gr\FONTS\CMUSerif-Math.ttf
GKS: could not open font file: C:\Users\Usuário\.julia\packages\GR\RlE5Y\src\..\deps\gr\FONTS\DejaVuSans.ttf
GKS: glyph missing from current font: 73
GKS: could not load glyph: 0
Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x5bdf5698 -- gks_ft_get_kerning at C:\Users\Usußrio\.julia\packages\GR\RlE5Y\deps\gr\bin\libGKS.dll (unknown line)
in expression starting at none:0
gks_ft_get_kerning at C:\Users\Usußrio\.julia\packages\GR\RlE5Y\deps\gr\bin\libGKS.dll (unknown line)
gks_ft_get_kerning at C:\Users\Usußrio\.julia\packages\GR\RlE5Y\deps\gr\bin\libGKS.dll (unknown line)
gks_ft_get_kerning at C:\Users\Usußrio\.julia\packages\GR\RlE5Y\deps\gr\bin\libGKS.dll (unknown line)
gks_inq_text_extent at C:\Users\Usußrio\.julia\packages\GR\RlE5Y\deps\gr\bin\libGKS.dll (unknown line)
gr_inqtext at C:\Users\Usußrio\.julia\packages\GR\RlE5Y\deps\gr\bin\libGR.dll (unknown line)
inqtext at C:\Users\Usuário\.julia\packages\GR\RlE5Y\src\GR.jl:663 [inlined]
gr_inqtext at C:\Users\Usuário\.julia\packages\Plots\lmp2A\src\backends\gr.jl:225
gr_text_size at C:\Users\Usuário\.julia\packages\Plots\lmp2A\src\backends\gr.jl:666
gr_get_ticks_size at C:\Users\Usuário\.julia\packages\Plots\lmp2A\src\backends\gr.jl:681
unknown function (ip: 0000000008141730)
_update_min_padding! at C:\Users\Usuário\.julia\packages\Plots\lmp2A\src\backends\gr.jl:830
iterate at .\generator.jl:47
_collect at .\array.jl:699
collect_similar at .\array.jl:628
unknown function (ip: 0000000001c12d44)
map at .\abstractarray.jl:2162
_update_min_padding! at C:\Users\Usuário\.julia\packages\Plots\lmp2A\src\layouts.jl:282
prepare_output at C:\Users\Usuário\.julia\packages\Plots\lmp2A\src\plot.jl:189
showjuno at C:\Users\Usuário\.julia\packages\Plots\lmp2A\src\output.jl:255
show at C:\Users\Usuário\.julia\packages\Plots\lmp2A\src\output.jl:212
unknown function (ip: 000000000813933f)
show at .\multimedia.jl:111
displayinplotpane at C:\Users\Usuário\.julia\packages\Atom\MxsDb\src\display\showdisplay.jl:67
displayandrender at C:\Users\Usuário\.julia\packages\Atom\MxsDb\src\display\showdisplay.jl:131
#204 at C:\Users\Usuário\.julia\packages\Atom\MxsDb\src\eval.jl:138
unknown function (ip: 0000000034199673)
jl_f_tuple at C:\Users\Usußrio\AppData\Local\JuliaPro-1.5.3-1\Julia-1.5.3\bin\libjulia.dll (unknown line)
jl_f__apply_latest at C:\Users\Usußrio\AppData\Local\JuliaPro-1.5.3-1\Julia-1.5.3\bin\libjulia.dll (unknown line)
#invokelatest#1 at .\essentials.jl:710 [inlined]
invokelatest at .\essentials.jl:709 [inlined]
macro expansion at C:\Users\Usuário\.julia\packages\Media\ItEPc\src\dynamic.jl:24 [inlined]
eval at C:\Users\Usuário\.julia\packages\Atom\MxsDb\src\eval.jl:114
unknown function (ip: 00000000341d9943)
jl_f_tuple at C:\Users\Usußrio\AppData\Local\JuliaPro-1.5.3-1\Julia-1.5.3\bin\libjulia.dll (unknown line)
jl_f__apply_latest at C:\Users\Usußrio\AppData\Local\JuliaPro-1.5.3-1\Julia-1.5.3\bin\libjulia.dll (unknown line)
#invokelatest#1 at .\essentials.jl:710
jl_f_tuple at C:\Users\Usußrio\AppData\Local\JuliaPro-1.5.3-1\Julia-1.5.3\bin\libjulia.dll (unknown line)
invokelatest at .\essentials.jl:709
jl_f_tuple at C:\Users\Usußrio\AppData\Local\JuliaPro-1.5.3-1\Julia-1.5.3\bin\libjulia.dll (unknown line)
macro expansion at C:\Users\Usuário\.julia\packages\Atom\MxsDb\src\eval.jl:41 [inlined]
#184 at .\task.jl:356
unknown function (ip: 000000001dfb7783)
jl_finish_task at C:\Users\Usußrio\AppData\Local\JuliaPro-1.5.3-1\Julia-1.5.3\bin\libjulia.dll (unknown line)
Allocations: 193247357 (Pool: 193177243; Big: 70114); GC: 152
Julia has exited.
Press Enter to start a new session.
I am with JuliaPro version 1.5.3 and using the following packages and its versions:
Dear all, When I compile
a big error message apperars and Julia restart. See:
I am with JuliaPro version 1.5.3 and using the following packages and its versions:
Thank you for the help.