Currently I’m code follows as below
using Plots; gr(size=(600,600))
begin
Plots.plot([3,4],[10,8])
Plots.plot!(twinx(),[.8,.2],[.4,-4])
Plots.plot!(xguidefontsize=20,yguidefontsize=20, tickfontsize=20, fontfamily="Computer Modern",framestyle=:box, legend=false, yrotation=90)
end
I’m setting the image size for different backends as plotly(size=(600,600))
but I want to tweak the inner size, ie.
Is there any other Plots.jl backend that can fix the above size instead of whole image size.
Pluto notebook
### A Pluto.jl notebook ###
# v0.19.35
using Markdown
using InteractiveUtils
# ╔═╡ 2a3c2aba-cf44-11ef-3876-3db2b6da2a06
begin
# import Pkg
# Pkg.activate("/home/hisacro/.julia/environments/v1.9/Project.toml")
using Plots; gr(size=(600,600))
end
# ╔═╡ 77debfc3-e7ae-42ff-b444-f0276a2d87dc
begin
Plots.plot([3,4],[10,8])
Plots.plot!(twinx(),[.8,.2],[.4,-4])
Plots.plot!(xguidefontsize=20,yguidefontsize=20, tickfontsize=20, fontfamily="Computer Modern",framestyle=:box, legend=false, yrotation=90)
end
# ╔═╡ Cell order:
# ╠═2a3c2aba-cf44-11ef-3876-3db2b6da2a06
# ╠═77debfc3-e7ae-42ff-b444-f0276a2d87dc