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

plot: Contour Plots #243

Merged
merged 2 commits into from
Oct 16, 2023
Merged

plot: Contour Plots #243

merged 2 commits into from
Oct 16, 2023

Conversation

johannes-wolf
Copy link
Member

@johannes-wolf johannes-wolf commented Oct 7, 2023

Implementation of #215.

This mainly adds contour plot support but also is a first step in organizing the plotting lib by moving functions out of plot.typ into plot/... sub-files. Depends on #245.

Also adds add-hline (+ vline) support for drawing lines that span a whole axis.

This also fixes filling of parametric functions.

@johannes-wolf johannes-wolf force-pushed the cetz-215-contour-plots branch 3 times, most recently from 1aab104 to d34c5f6 Compare October 9, 2023 04:58
@johannes-wolf johannes-wolf changed the title WIP: Contour plots Contour plots Oct 9, 2023
@johannes-wolf johannes-wolf changed the title Contour plots Contour Plots Oct 9, 2023
Copy link
Member

@fenjalien fenjalien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The outputs/drawings look amazing as always. Unfortunately I'm struggling to follow how this all works but thats mostly to do with how github has decided to present the changes. The other part is the function documentation barely makes sense, if you want specifics it would be better to discuss it over discord. Also does the manual need updating?

src/lib/plot.typ Show resolved Hide resolved
src/lib/plot.typ Outdated Show resolved Hide resolved
src/lib/plot.typ Outdated Show resolved Hide resolved
src/lib/plot.typ Outdated Show resolved Hide resolved
src/lib/plot.typ Outdated Show resolved Hide resolved
src/lib/plot.typ Outdated Show resolved Hide resolved
@johannes-wolf johannes-wolf force-pushed the cetz-215-contour-plots branch 4 times, most recently from 201d756 to 845bef4 Compare October 9, 2023 18:18
Tests are now detected by looking for files named "test.typ", rather
than using each directory under "$TEST_ROOT".
@johannes-wolf johannes-wolf force-pushed the cetz-215-contour-plots branch 5 times, most recently from 15847aa to 4998dda Compare October 12, 2023 16:34
@johannes-wolf johannes-wolf changed the title Contour Plots plot: Contour Plots Oct 13, 2023
@johannes-wolf johannes-wolf merged commit 62ef427 into master Oct 16, 2023
2 checks passed
@johannes-wolf johannes-wolf deleted the cetz-215-contour-plots branch October 16, 2023 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants