Created
February 15, 2019 07:53
-
-
Save shrijitsingh99/6945cbf98efa4389539db4d346885b19 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a=-1.4:0.02:1.4; | |
[X,Y,Z] = meshgrid(a); | |
F =((X.^2)+(9/4).*(Y.^2)+(Z.^2)-1).^3-(X.^2).*(Z.^3)-(9/80).*(Y.^2).*(Z.^3); | |
patch(isosurface(X,Y,Z,F,0),'EdgeColor','r') | |
axis equal | |
view([-43 13]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment