-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1613b41
commit 0d636c9
Showing
5 changed files
with
43 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
############################################################################################ | ||
# qplot defaults | ||
#region | ||
|
||
function qplotdefaults(; figure = (;), axis = (;)) | ||
global default_figure_user = figure | ||
global default_axis_user = axis | ||
return (; default_figure_user, default_axis_user) | ||
end | ||
|
||
default_figure_user = (;) | ||
default_axis_user = (;) | ||
|
||
const plotlat_default_figure = (; resolution = (1200, 1200), fontsize = 40) | ||
|
||
const plotlat_default_axis3D = (; | ||
xlabel = "x", ylabel = "y", zlabel = "z", | ||
xticklabelcolor = :gray, yticklabelcolor = :gray, zticklabelcolor = :gray, | ||
xspinewidth = 0.2, yspinewidth = 0.2, zspinewidth = 0.2, | ||
xlabelrotation = 0, ylabelrotation = 0, zlabelrotation = 0, | ||
xticklabelsize = 30, yticklabelsize = 30, zticklabelsize = 30, | ||
xlabelsize = 40, ylabelsize = 40, zlabelsize = 40, | ||
xlabelfont = :italic, ylabelfont = :italic, zlabelfont = :italic, | ||
perspectiveness = 0.0, aspect = :data) | ||
|
||
const plotlat_default_axis2D = (; autolimitaspect = 1) | ||
|
||
const plotlat_default_lscene = (;) | ||
|
||
const plotlat_default_2D = | ||
(plotlat_default_figure, plotlat_default_axis2D) | ||
const plotlat_default_3D = | ||
(plotlat_default_figure, plotlat_default_axis3D, plotlat_default_lscene) | ||
|
||
#endregion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters