Fix typo.
This commit is contained in:
parent
240c1efab9
commit
99f25ef744
@ -310,7 +310,7 @@ function pgf_axis(sp::Subplot, letter)
|
|||||||
if !(axis[:ticks] in (nothing, false, :none)) && framestyle != :none
|
if !(axis[:ticks] in (nothing, false, :none)) && framestyle != :none
|
||||||
ticks = get_ticks(axis)
|
ticks = get_ticks(axis)
|
||||||
#pgf plot ignores ticks with angle below 90 when xmin = 90 so shift values
|
#pgf plot ignores ticks with angle below 90 when xmin = 90 so shift values
|
||||||
tick_values = ispolar(sp) && letter == :x ? [rad2deg.(ticks[1])[3:end]..., 360, 415] : ticks[1]
|
tick_values = ispolar(sp) && letter == :x ? [rad2deg.(ticks[1])[3:end]..., 360, 405] : ticks[1]
|
||||||
push!(style, string(letter, "tick = {", join(tick_values,","), "}"))
|
push!(style, string(letter, "tick = {", join(tick_values,","), "}"))
|
||||||
if axis[:showaxis] && axis[:scale] in (:ln, :log2, :log10) && axis[:ticks] == :auto
|
if axis[:showaxis] && axis[:scale] in (:ln, :log2, :log10) && axis[:ticks] == :auto
|
||||||
# wrap the power part of label with }
|
# wrap the power part of label with }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user