To get the plot, you need to call the plot function without the = sign, like this:
plot(p, z, marker=:heg, leg=false, linewidth=2, linecolor=:black)
The error is because Julia thinks you are bounding a named tuple to the variable plot and this named tuple does not have values for p and z fields.
Also, it is useful for this forum to quote your code with backticks ![]()
2 Likes
Thanks a lot. this was too silly an error to make . Thank you anyways. also, i’ll keep the backticks in mind.
1 Like
Sure! We all make this kind of silly mistakes everyday ![]()
3 Likes
