Skip to content

Commit

Permalink
Adapted to ModiaResult 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinOtter committed Jun 15, 2021
1 parent f187eb2 commit f7031f3
Show file tree
Hide file tree
Showing 7 changed files with 278 additions and 94 deletions.
18 changes: 12 additions & 6 deletions Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ version = "1.0.5"

[[CairoMakie]]
deps = ["Base64", "Cairo", "Colors", "FFTW", "FileIO", "FreeType", "GeometryBasics", "LinearAlgebra", "Makie", "SHA", "StaticArrays"]
git-tree-sha1 = "13bfc08f345bbcaa73f58bf33e0706828839cc72"
git-tree-sha1 = "a37649a6a08838134a022e7ad374e33180908d48"
uuid = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0"
version = "0.5.9"
version = "0.5.10"

[[Cairo_jll]]
deps = ["Artifacts", "Bzip2_jll", "Fontconfig_jll", "FreeType2_jll", "Glib_jll", "JLLWrappers", "LZO_jll", "Libdl", "Pixman_jll", "Pkg", "Xorg_libXext_jll", "Xorg_libXrender_jll", "Zlib_jll", "libpng_jll"]
Expand Down Expand Up @@ -491,9 +491,9 @@ version = "1.42.0+0"

[[Libiconv_jll]]
deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"]
git-tree-sha1 = "8d22e127ea9a0917bc98ebd3755c8bd31989381e"
git-tree-sha1 = "42b62845d70a619f063a7da093d995ec8e15e778"
uuid = "94ce4f54-9a6c-5748-9c1c-f9c7231a4531"
version = "1.16.1+0"
version = "1.16.1+1"

[[Libmount_jll]]
deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"]
Expand Down Expand Up @@ -571,6 +571,12 @@ version = "0.4.5"
[[Mmap]]
uuid = "a63ad114-7e13-5084-954f-fe012c677804"

[[ModiaResult]]
deps = ["DataFrames", "DataStructures", "Measurements", "MonteCarloMeasurements", "Pkg", "Tables", "Unitful"]
git-tree-sha1 = "30491bd7ffc12a2e32077a6932dbb013ddbd6539"
uuid = "16a87621-1533-42f6-8e19-4a825980cec2"
version = "0.2.0"

[[MonteCarloMeasurements]]
deps = ["Distributed", "Distributions", "LinearAlgebra", "MacroTools", "Random", "RecipesBase", "Requires", "SLEEFPirates", "StaticArrays", "Statistics", "StatsBase", "Test"]
git-tree-sha1 = "cdc1eb7c5a1154c15dfe7368f1ca1f693dc40202"
Expand Down Expand Up @@ -607,9 +613,9 @@ version = "0.4.0"

[[OffsetArrays]]
deps = ["Adapt"]
git-tree-sha1 = "1381a7142eefd4cd12f052a4d2d790fe21bd1d55"
git-tree-sha1 = "e436bb81d2ce4f01fb02374c4410e5a9229c85f9"
uuid = "6fe1bfb0-de20-5000-8ca7-80f57d26f881"
version = "1.9.2"
version = "1.10.0"

[[Ogg_jll]]
deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"]
Expand Down
4 changes: 3 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
name = "ModiaPlot_CairoMakie"
uuid = "9f8f4483-481e-4903-91bb-7ade42e914e0"
authors = ["[email protected] <[email protected]>"]
version = "0.1.0"
version = "0.2.0"

[deps]
CairoMakie = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0"
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
Measurements = "eff96d63-e80a-5855-80a2-b1b0885c5ab7"
ModiaResult = "16a87621-1533-42f6-8e19-4a825980cec2"
MonteCarloMeasurements = "0987c9cc-fe09-11e8-30f0-b96dd679fdca"
Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"

Expand All @@ -16,6 +17,7 @@ CairoMakie = "0.5"
Colors = "0.12, 0.11, 0.10"
DataFrames = "0.22, 0.21, 0.20, 0.19"
Measurements = "2.5, 2.4, 2.3"
ModiaResult = "0.2"
MonteCarloMeasurements = "0.10"
Unitful = "1.6, 1.5, 1.4, 1.3"
julia = "1.6, 1.5"
8 changes: 4 additions & 4 deletions src/ModiaPlot_CairoMakie.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ module ModiaPlot_CairoMakie
const headingSize = 10

const path = dirname(dirname(@__FILE__)) # Absolute path of package directory
const Version = "0.1.0"
const Date = "2021-06-09"
const Version = "0.2.0"
const Date = "2021-06-15"

println("Importing ModiaPlot_CairoMakie Version $Version ($Date) - this takes some time due to CairoMakie import")

Expand All @@ -19,12 +19,12 @@ import MonteCarloMeasurements
using Unitful

using CairoMakie
include("$(ModiaResult.path)/src_plot/plot.jl")
include("$(ModiaResult.path)/src/plot.jl")

const showFigureStringInDiagram = false
const callDisplayFunction = false
const reusePossible = true
include("$(ModiaResult.path)/src_plot/makie.jl")
include("$(ModiaResult.path)/src/makie.jl")


showFigure(figureNumber::Int) = nothing
Expand Down
Loading

0 comments on commit f7031f3

Please sign in to comment.