Skip to content

Add unicode multiplot#120

Open
pjaap wants to merge 14 commits intomainfrom
feature/unicode-multiplot
Open

Add unicode multiplot#120
pjaap wants to merge 14 commits intomainfrom
feature/unicode-multiplot

Conversation

@pjaap
Copy link
Copy Markdown
Member

@pjaap pjaap commented Apr 16, 2026

To achieve this, we need to set the size of the subplots and hand over independent Gridvisualizers for the subplots

Results look promising:
image

Need to check if the changes break anything with the other Plotters

@pjaap pjaap force-pushed the feature/unicode-multiplot branch from 49d522b to 7e7d38b Compare April 17, 2026 11:06
@pjaap
Copy link
Copy Markdown
Member Author

pjaap commented Apr 17, 2026

I adjusted the total resolutions a bit and I think the result is now very nice:

image

@pjaap pjaap force-pushed the feature/unicode-multiplot branch from a069588 to 9943b08 Compare April 17, 2026 11:53
@pjaap
Copy link
Copy Markdown
Member Author

pjaap commented Apr 17, 2026

rebased.

@pjaap
Copy link
Copy Markdown
Member Author

pjaap commented Apr 17, 2026

Now also with correct text colors

image

@pjaap pjaap changed the title WIP: Add unicode multiplot Add unicode multiplot Apr 17, 2026
@chmerdon
Copy link
Copy Markdown
Member

Very nice. While we are at it, I added a provisoric vectorplot. It needs some more tweaking with the arrow heads and tails and color customizations, but seems to work in principle. One can test it with the returned plot from Example201 in ExtendableFEM. However, reveal(plt) currently does not work, but show(plt) allows a peak.

@chmerdon
Copy link
Copy Markdown
Member

Maybe it is better to use unicode arrow characters (and color them according to their strength) instead to try to draw real arrows. However, that probably restricts the direction accuracy to 45 degree steps...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants