Merge 5717244dee6829ae0e22040f51d92ea520f69bc1 into dd3f65496ad98c8a393fd0f766dd81e0288b2de4
This commit is contained in:
commit
74f2a1bb95
@ -52,6 +52,11 @@ function tex(plt::Plot, fn::AbstractString)
|
|||||||
end
|
end
|
||||||
tex(fn::AbstractString) = tex(current(), fn)
|
tex(fn::AbstractString) = tex(current(), fn)
|
||||||
|
|
||||||
|
function tex(plt::Plot{PGFPlotsBackend}, fn::AbstractString)
|
||||||
|
fn = addExtension(fn, "tex")
|
||||||
|
PGFPlots.save(fn, backend_object(plt), include_preamble=false)
|
||||||
|
end
|
||||||
|
|
||||||
function html(plt::Plot, fn::AbstractString)
|
function html(plt::Plot, fn::AbstractString)
|
||||||
fn = addExtension(fn, "html")
|
fn = addExtension(fn, "html")
|
||||||
io = open(fn, "w")
|
io = open(fn, "w")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user