Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
d6aa264
UnicodePlots: Enable multiplot layout by reducing the resolution
pjaap Apr 17, 2026
4665141
UnicodePlots: add autoscale to scalarplot 2D
pjaap Apr 17, 2026
c9498c7
UnicodePlots: Adjust total resolutions to make multiplots more consis…
pjaap Apr 17, 2026
4258d80
UnicodePlots: use normal text color where useful
pjaap Apr 17, 2026
350c5a7
first draft of 2d vectorplot with UnicodePlots
Apr 17, 2026
773c1a7
improved vector plot
Apr 19, 2026
eca0186
UnicodePlots: Make scalarplot 2d slightly larger
pjaap Apr 20, 2026
30bb6f0
use colormap for arrow coloring
Apr 20, 2026
c623fea
use ansi_color
Apr 20, 2026
dc33985
old arrow directions were correct
Apr 20, 2026
0f2794f
provisoric colorbar for vectorplot
Apr 20, 2026
e58a793
removed debug line
Apr 20, 2026
5066515
UnicodePlots: handle clear=true correctly in 1D Scalarplot
pjaap Apr 20, 2026
1af24e3
much nicer vectorplot with outside colorbar
Apr 20, 2026
2c6151e
vectorplot colorbar now changes with ctx[:colormap], ctx[:vscale] cha…
Apr 21, 2026
01ccb9b
reveal only existing subplots
pjaap Apr 21, 2026
deaa823
Show placeholders for incomplete multiplots
pjaap Apr 21, 2026
5deb01f
Reduce sizing of plots a bit further
pjaap Apr 21, 2026
2a3be15
fix names and labels in scalarplot
pjaap Apr 21, 2026
6ca7468
Respect scaling and xlimits
pjaap Apr 22, 2026
97e65e7
Comply to plot_multiscene interface
pjaap Apr 22, 2026
67157bd
Test UnicodePlots
pjaap Apr 22, 2026
6690e97
Add UnicodePlots image to README
pjaap Apr 22, 2026
6c7096a
coordinate limits in vectorplot, less padding and shorter coordinate …
Apr 22, 2026
882c855
check only if plot_multiscene is crashing
pjaap Apr 22, 2026
235a50b
Update pre-commit
pjaap Apr 22, 2026
77e6d48
restored old padding in gridplot, added new border kwarg to toggle th…
Apr 22, 2026
b3c1cde
Update unicode plot image
pjaap Apr 22, 2026
c5f69f0
moved legend and limits to outside labels, removed padding in gridplots
Apr 22, 2026
f4f4472
Update unicode plot image
pjaap Apr 22, 2026
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
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ repos:
hooks:
- id: gitleaks
- repo: https://github.com/fredrikekre/runic-pre-commit
rev: v2.0.1
rev: v2.2.0
hooks:
- id: runic
- repo: https://github.com/codespell-project/codespell
rev: v2.4.1
rev: v2.4.2
hooks:
- id: codespell
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

## [1.18.2] - 2026-04-21
## [1.19.0] - 2026-XX-XX
- `UnicodePlots` does support multiplots if the package `Term` is loaded.
- Add colorbar for cell regions in 2D `gridplot!` with `Py[thon]Plot`

## [1.18.0] - 2026-04-15
Expand Down
6 changes: 4 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "GridVisualize"
uuid = "5eed8a63-0fb0-45eb-886d-8d5a387d12b8"
version = "1.19.0"
authors = ["Juergen Fuhrmann <juergen.fuhrmann@wias-berlin.de>", "Patrick Jaap <patrick.jaap@wias-berlin.de>"]
version = "1.18.2"

[deps]
ColorSchemes = "35d6a980-a343-548e-a6ea-1d62b119f2f4"
Expand Down Expand Up @@ -64,6 +64,7 @@ Printf = "1.6"
PyPlot = "2"
PythonPlot = "1"
StaticArrays = "1"
Term = "2.0.8"
Triangulate = "2, 3"
UnicodePlots = "3"
VTKView = "0.1,0.2"
Expand All @@ -75,8 +76,9 @@ ExtendableGrids = "cfc395e8-590f-11e8-1f13-43a2532b2fa8"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
PlutoVista = "646e1f28-b900-46d7-9d87-d554eb38a413"
PyPlot = "d330b81b-6aea-500a-939a-2ce795aea3ee"
Term = "22787eb5-b846-44ae-b979-8e399b8463ab"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Triangulate = "f7e6ffb2-c36d-4f8f-a77e-16e897189344"

[targets]
test = ["CairoMakie", "ExtendableGrids", "Pkg", "PlutoVista", "PyPlot", "Test", "Triangulate"]
test = ["CairoMakie", "ExtendableGrids", "Pkg", "PlutoVista", "PyPlot", "Term", "Test", "Triangulate", "UnicodePlots"]
22 changes: 13 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,18 +135,18 @@ and all plotting functions will do nothing.
| | PyPlot/PythonPlot | Makie | PlutoVista | Plots | VTKView | UnicodePlots |
|----------------|--------------------|-------|------------|-------|---------|--------------|
| scalarplot, 1D | y | y | y,i | y | y | y |
| vectorplot, 1D | y | y | y | y | y | |
| vectorplot, 1D | y | y | y | y | y | n |
| gridplot, 1D | y | y | y | y | | y |
| scalarplot, 2D | y | y | y | (y) | y,i | y |
| vectorplot, 2D | y | y | y | y | |
| streamplot, 2D | y | y | p | n | |
| vectorplot, 2D | y | y | y | y | | y
| streamplot, 2D | y | y | p | n | | n
| gridplot, 2D | y | y,i | y | (y) | y,i | y |
| scalarplot, 3D | y | y,i | y,i | n | y,i | |
| gridplot, 3D | y | y,i | y,i | n | y,i | |
| vectorplot, 3D | p | p | p | n | | |
| streamplot, 3D | | p | p | n | | |
| movie | n | y | n | y | | |
| triangulateio | y | y | n | n | n | |
| scalarplot, 3D | y | y,i | y,i | n | y,i | n |
| gridplot, 3D | y | y,i | y,i | n | y,i | n |
| vectorplot, 3D | p | p | p | n | | n |
| streamplot, 3D | | p | p | n | | n |
| movie | n | y | n | y | | n |
| triangulateio | y | y | n | n | n | n |

## Sample output

Expand All @@ -166,6 +166,10 @@ and all plotting functions will do nothing.
### [VTKView](https://github.com/j-fu/VTKView.jl) (experimental):
![](https://github.com/WIAS-PDELib/GridVisualize.jl/blob/main/docs/src/assets/multiscene_vtkview.png?raw=true")

### [UnicodePlots](https://github.com/JuliaPlots/UnicodePlots.jl) (experimental):
![](https://github.com/WIAS-PDELib/GridVisualize.jl/blob/main/docs/src/assets/multiscene_unicodeplots.png?raw=true")


## vscode
Plotting into the plot pane of Visual Studio Code is working. Here, you can use CairoMakie or WGLMakie as backend. This works only with the mutating functions, i.e. you should use something like
```
Expand Down
Binary file added docs/src/assets/multiscene_unicodeplots.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading