Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle incomplete #28

Merged
merged 5 commits into from
Sep 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: actions/cache@v1
- uses: julia-actions/cache@v2
env:
cache-name: cache-artifacts
with:
Expand Down
135 changes: 135 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
# Changelog


## [1.9.0] 2024-09-29

- Allow plotting of grids without boundary info

- Add dispatches for scalarplot(coord, cellnodes, func; kwargs...)


## [1.7.0] - 2024-06-18

- Add :cellcoloring keyword for handling partitioned grids

- Upgrade project.toml, dependencies

- Fix cellcolor numbering

- Remove nightly from ci due to pluto problem

- Merge pull request #27 from j-fu/handle-partitioning

Handle partitioning

## [1.6.0] - 2024-05-24

* require Julia >= 1.9

* allow for Makie 0.21;

See also https://blog.makie.org/blogposts/v0.21/



## [1.5.0] - 2023-12-09

- Gridscale etc (#20)

Some updates, fixes:

* gridscale for plutovista, pyplot, makie,plots

* Export vectorsample and quiverdata

* Fix streamplot handling for Makie

* spacing -> rasterpoints for quiver, streamplot

* Ensure that colorbarticks are always shown and contain the function limits

* Add customplot



## [1.4.0] - 2023-12-05

- Prevent PyPlot from normalizing quiver vectors

- Pin CairoMakie vesion due to https://github.com/MakieOrg/Makie.jl/issues/3440

- Add warnings for functionality not implemented in Plots

- Bump CairoMakie dependency

- Add streamplot for Makie

- Remove another .px_area

- Update multiscene plot for makie



## [1.3.0] - 2023-11-15

- Update Makie, GridVisualizeTools versions

## [1.2.0] - 2023-11-11

- Fix notebook html generation

- Bgcolor->backgroundcolor in makie.jl

- Add compat for stdlibs, bump minor version


## [1.1.7] - 2023-10-12

- Sets default value false for kwarg vconstant introduced in 1.15 (#18)

Co-authored-by: Christian Merdon <[email protected]>
- Fix Documenter v1 issues


## [1.1.5] - 2023-09-11

- Allow for PlutVista 1.0

- Improved PyPlot backend: (#17)

* better fontsize recognition

* correct fig sizes

* tight_layout() also for SubVisualizer reveal

* fixed rare clipping of last colorlevel in scalarplot

* coordinate limits (xlimits etc.) are used in vectorsample (such that scaling only is applied to vectors in the clipped area)

* new vector scaling method vconstant that scales all arrows equally

* repaired streamplot (U and V arguments needed transposition)

* added density argument to streamplot



## [1.1.0] - 2023-06-02

- Add weakdeps + compat for Makie & co to Project.toml

- Enable levelalpha/planealpha for makie
fix colorbarticks

- Try to fix isoline rendering in makie 2d



## [1.0.0] - 2023-02-05

- Subgridplots (#16)

Handle plots of discontinuous functions in Makie,Pyplot, PlutoVista


2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ ColorSchemes = "3"
Colors = "0.12,1"
DocStringExtensions = "0.8,0.9"
ElasticArrays = "1"
ExtendableGrids = "1.7"
ExtendableGrids = "1.10"
GLMakie = "0.9, 0.10"
GeometryBasics = "0.4.1"
GridVisualizeTools = "1.1"
Expand Down
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,15 @@ This works for 1/2/3D grids and either a function represented by its
values on the nodes of the grid, or a scalar function of 1, 2 or 3
variables, respectively. Vector and stream plots are currenly available for 2D only.


The `grid` argument should be an `ExtendableGrid` as defined by the [ExtendableGrids.jl](https://github.com/j-fu/ExtendableGrids.jl) package.
Instead of `grid`, the following arguments can be passed in order to describe a grid (which then is internally created on-the-fly):
- An `AbstractVector` `X` specifying an 1D grid
- `AbstractVector`s `X,Y` specifying a 2D grid
- `AbstractVector`s `X,Y,Z` specifying a 3D grid
- `coord, cellnodes`, where `coord` is a `dim x nn` matrix of point coordinates and
`cellnodes` is as `dim+1 x nc` connectivity matrix of simplex node indices, describing
a `dim`-dimensional simplex grid with `nn` nodes and `nc` simplices.

Plot appearance can be tweaked by a number of
[keyword arguments](https://j-fu.github.io/GridVisualize.jl/dev/api/#GridVisualize.available_kwargs).

Expand Down
Loading
Loading