Image:Monkey Saddle Surface (Shaded).png

From Wikipedia, the free encyclopedia

Wikimedia Commons logo This is a file from the Wikimedia Commons. The description on its description page there is shown below.
Commons is a freely licensed media file repository. You can help.

[edit] Summary

Description

A monkey saddle surface, with the equation
z=x^3-3xy^2 \,

Source

Self-made, done in MuPad

Date

11/04/0206

Author

Inductiveload

Permission
(Reusing this image)

see below

Other versions Unshaded Version

[edit] MuPAD Code


f := x^3-3*x*y^2:

  conts := 16:
  projectionlevel:=-1.5:

colourfunc := zip(RGB::Red, RGB::CornflowerBlue,
                  (a, b) -> (f(x,y)+1)/(2)*a
                           -(f(x,y)-1)/(2)*b):

funcplot := plot::Function3d(f(x,y),
                             x = -1..1,
                             y = -1..1,
                             Mesh = [24, 24],
                             Submesh=[8,8],
                             LineColor = RGB::Black.[0.99],
                             LineWidth = 0.1,
                             Filled = TRUE,
                             FillColorFunction = colourfunc,                             
                             AxesTitleFont = ["Courier New", 14],                       
                             ViewingBoxZRange = -1.5..1
                            ):

contours := plot::modify(funcplot,
                         ZContours = [Automatic, conts],
                         LineWidth = 0.15,
                         LineColor = RGB::Gray90.[0.5],
                         XLinesVisible = FALSE,
                         YLinesVisible = FALSE,
                         Filled = FALSE
                        ):
                        
projcontours := plot::Transform3d([0, 0, projectionlevel],
                                  [1, 0, 0, 0, 1, 0, 0, 0, 0], 
                                   plot::modify(funcplot, ZContours = [Automatic, conts],
                                                LineWidth = 0.2,
                                                LineColorType = Dichromatic,
                                                LineColor = RGB::Red.[0.99],
                                                LineColor2 = RGB::CornflowerBlue.[0.99],
                                                XLinesVisible = FALSE,
                                                YLinesVisible = FALSE,
                                                Filled = FALSE
                                               )
                                  ):
                             
camera := plot::Camera([16, -24, 30],
                       [0, 0, -0.25],
                       0.08
                      ):
                             
ploteverything := plot::Canvas(funcplot,projcontours, contours,
                               Width = 200*unit::mm, 
                               Height = 150*unit::mm, 
                               Axes = Boxed,
                               TicksVisible = FALSE ,
                               TicksLabelsVisible = FALSE,
                               AxesTitles = ["", "", ""],                                                
                               camera
                              ): 
                          
plot(ploteverything)

[edit] Licensing

Public domain I, the copyright holder of this work, hereby release it into the public domain. This applies worldwide.

In case this is not legally possible:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.


Afrikaans | Alemannisch | Aragonés | العربية | Asturianu | Български | Català | Česky | Cymraeg | Dansk | Deutsch | Eʋegbe | Ελληνικά | English | Español | Esperanto | Euskara | Estremeñu | فارسی | Français | Galego | 한국어 | हिन्दी | Hrvatski | Ido | Bahasa Indonesia | Íslenska | Italiano | עברית | Kurdî / كوردی | Latina | Lietuvių | Latviešu | Magyar | Македонски | Bahasa Melayu | Nederlands | ‪Norsk (bokmål)‬ | ‪Norsk (nynorsk)‬ | 日本語 | Polski | Português | Ripoarisch | Română | Русский | Shqip | Slovenčina | Slovenščina | Српски / Srpski | Svenska | ไทย | Tagalog | Türkçe | Українська | Tiếng Việt | Walon | ‪中文(简体)‬ | ‪中文(繁體)‬ | zh-yue-hant | +/-

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeDimensionsUserComment
current22:46, 11 April 20071,575×1,181 (720 KB)Inductiveload ({{Information |Description=A monkey saddle surface, with the equation<br> <math>z=x^3-3xy^2 \,</math> |Source=Self-made, done in MuPad |Date=11/04/0206 |Author=User:Inductiveload |other_versions=[[:image:Monkey_Saddle_Surface_(Mesh).png|Unshaded Vers)
The following pages on the English Wikipedia link to this file (pages on other projects are not listed):