-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Examples in docs throw error #11
Comments
Sorry, took me a bit but I see now were I screwed up. I did a last minute change in the module names to anticipate what will happen in GMT6. Because we are dropping the strong connection to PostScript module names like |
Or simply, for the moment, do qualified call. I.e. |
I am on the master branch now, the qualified call is throwing a different error: x = linspace(0, 2pi,180); seno = sin.(x/0.2)*45;
GMT.coast(region="g", proj="A300/30/6c", frame="g", resolution="c", land="navy")
plot!(collect(x)*60, seno, lw=0.5, lc="red", fmt="png", marker="circle",
markeredgecolor=0, size=0.05, markerfacecolor="cyan", show=true)
type GMT_TEXTSET has no field n_rows
Stacktrace:
[1] dataset_init(::Ptr{Void}, ::Bool, ::Array{Float64,2}, ::UInt32, ::Array{Int64,1}) at /home/juliohm/.julia/v0.6/GMT/src/gmt_main.jl:1367
[2] dataset_init_(::Ptr{Void}, ::Bool, ::Array{Float64,2}, ::UInt32, ::Array{Int64,1}) at /home/juliohm/.julia/v0.6/GMT/src/gmt_main.jl:1261
[3] GMTJL_Set_Object(::Ptr{Void}, ::GMT.GMT_RESOURCE, ::Array{Float64,2}) at /home/juliohm/.julia/v0.6/GMT/src/gmt_main.jl:939
[4] gmt(::String, ::Array{Float64,2}, ::Vararg{Array{Float64,2},N} where N) at /home/juliohm/.julia/v0.6/GMT/src/gmt_main.jl:268
[5] finish_PS_module(::Dict{Symbol,Any}, ::Array{String,1}, ::String, ::Array{Float64,2}, ::Array{Any,1}, ::Int64, ::String, ::String, ::String, ::Bool, ::String) at /home/juliohm/.julia/v0.6/GMT/src/common_options.jl:814
[6] #xy#84(::String, ::Array{Any,1}, ::String, ::Bool, ::Bool, ::Bool, ::Array{Any,1}, ::Function, ::String, ::Array{Float64,2}) at /home/juliohm/.julia/v0.6/GMT/src/psxy.jl:223
[7] (::GMT.#kw##xy)(::Array{Any,1}, ::GMT.#xy, ::String, ::Array{Float64,2}) at ./<missing>:0
[8] #plot!#93(::String, ::Array{Any,1}, ::String, ::Bool, ::Bool, ::Bool, ::Array{Any,1}, ::Function, ::Array{Float64,1}, ::Array{Float64,1}) at /home/juliohm/.julia/v0.6/GMT/src/plot.jl:108
[9] (::GMT.#kw##plot!)(::Array{Any,1}, ::GMT.#plot!, ::Array{Float64,1}, ::Array{Float64,1}) at ./<missing>:0
[10] include_string(::String, ::String) at ./loading.jl:515 |
That's because master uses GMT dev (trunk) version. You have to do like I said. Edit the src/GMT.jl file and put back I'll try to address some of your other questions but I'll have leave in a while for dinning out. |
This should be solved with the new 0.3.0 tag |
GMT.jl v0.2.0
GMT v5.4.2-1
Ex 1
Ex 2
Ex 3
Ex 4
The text was updated successfully, but these errors were encountered: