Skip to content

Commit

Permalink
Merge branch 'master' of github.com:baggepinnen/Robotlib.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
baggepinnen committed Oct 28, 2020
2 parents a0cdda5 + e380476 commit a0771c7
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions test/testForce.jl
Original file line number Diff line number Diff line change
Expand Up @@ -54,27 +54,6 @@ using Robotlib, Test, Random

end

function savefig2(filename)

savefig(filename)
temppath, temp = mktemp()
pattern = r",\s*axis background/.style={fill={rgb,1:red,\d.\d+;green,\d.\d+;blue,\d.\d+}}"
hp = r"height = {[\d.]+mm}"
line = read(filename, String)
# println(line)
line = replace(line, pattern => "")
line = replace(line, r"width = {[\d.]+mm}" => "")
line = replace(
line,
r"height = {[\d.]+mm}" =>
"height = \\figureheight, width = \\figurewidth",
)
println(temp, line)

close(temp)
mv(temppath, filename, remove_destination = true)
end



# using Plots, DSP, Robotlib, Random, LaTeXStrings
Expand Down

0 comments on commit a0771c7

Please sign in to comment.