File:Monkey Saddle Surface (Shaded).png

From Wikiversity
Jump to navigation Jump to search

Original file(1,575 × 1,181 pixels, file size: 720 KB, MIME type: image/png)

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.

Summary

Description
English: A monkey saddle surface, with the equation . Done in MuPAD.
Русский: Поверхность Обезьянье седло, задаваемая уравнением . Сделано в MuPAD.
Date
Source Own work
Author Inductiveload
Permission
(Reusing this file)
Public domain I, the copyright holder of this work, release this work into the public domain. This applies worldwide.
In some countries this may not be legally possible; if so:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.
Other versions

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)

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

11 April 2006

File history

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

Date/TimeThumbnailDimensionsUserComment
current22:46, 11 April 2007Thumbnail for version as of 22: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

Global file usage

The following other wikis use this file:

View more global usage of this file.