Comments (2)
could you show us some more code for your functions? please. The following works as in the reference image:
using GLMakie
f(x, y) = abs(sin(x)* sin(y))
g(x, y) = abs(cos(x)* cos(y))
x = y = -3:0.1:3
zf = [f(x, y) for x in x, y in y]
zg = [g(x, y) for x in x, y in y]
fig = Figure()
ax = Axis(fig[1,1])
contour!(ax, x, y, zf; labels=true, color=:black, linestyle=:dash, linewidth=2,
labelcolor=:red, levels = [0.5,1])
contour!(ax, x, y, zg; labels=true, color=:dodgerblue, linewidth=2,
labelcolor=:blue, levels = [0.5,1])
fig
![Screenshot 2024-01-03 at 21 10 07](https://private-user-images.githubusercontent.com/19525261/294017574-76d8f1a7-b4ec-41e5-be28-9a7e75ead939.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk0Nzk4NTUsIm5iZiI6MTcxOTQ3OTU1NSwicGF0aCI6Ii8xOTUyNTI2MS8yOTQwMTc1NzQtNzZkOGYxYTctYjRlYy00MWU1LWJlMjgtOWE3ZTc1ZWFkOTM5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI3VDA5MTIzNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI2YzQ1NzA1YTUzZjE3MWYxZWY2MzkwZGUzNTE1ZTY2MDU1NDBhODVkMzQyOTQ5NDRiMDYxYWU2YjY2MjBiOGQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.uHNKfTmhtUxuyHbllUmNd4PvmkOxl-MspTFDtlr0M9E)
from makie.jl.
Thanks! I don't have a record of my exact functions (they depended on a data set), but I'm guessing there must have been some degeneracy. I'll close this, with apologies for the noise.
from makie.jl.
Related Issues (20)
- Error when creating sysimage with MakieCore 0.8.2
- `xticks` is ignored with unit aware axes
- Stack overflow for BezierPath marker in data space
- BoundsError in `recordframe!` with WGLMakie
- eye position and lookat incorrectly set HOT 1
- Create line plot with a specific number of markers (like markerindices in matlab)
- CairoMakie svgs broken when using views in polys
- Missing Tutorial Figures HOT 1
- Apply `DateFormat` to `DateTime` axis ticks
- Error Bars not working properly
- ecdfplot! MethodError ambiguous insert!
- `select_point` is broken HOT 2
- Figure names on GLMakie independent figures HOT 2
- 3D axis broken in GLMakie v0.10.13 HOT 8
- For raincloud plot, `jitter_width` is documented, but cannot be used
- In RPRMakie: non-singleton RPR.Context are not possible
- Rich text in `Axis3` title errors
- Extending recipes with new types doesn't always work HOT 12
- Add LabelledToggleGrid/MenuGrid
- WGLMakie, Firefox, and large image plots
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from makie.jl.