Forgot password
 Register account
View 1951|Reply 4

用Mathematica画房子

[Copy link]

6

Threads

7

Posts

0

Reputation

Show all posts

hjnk900 posted 2016-1-27 11:42 |Read mode
RT...房子要包含烟囱、窗户和门  
有谁会画吗?比如下图的这些样式,可否给一些代码的格式提示
Snip20160127_14.png

13

Threads

898

Posts

8

Reputation

Show all posts

色k posted 2016-1-27 12:29
这是吃饱了撑的节奏么

6

Threads

7

Posts

0

Reputation

Show all posts

original poster hjnk900 posted 2016-1-27 13:13
回复 2# 色k


    我们老师吃饱了撑的...

764

Threads

4672

Posts

27

Reputation

Show all posts

isee posted 2016-1-29 17:34
看来是作业,熟悉应用的。。。

3211

Threads

7832

Posts

52

Reputation

Show all posts

hbghlyj posted 2023-2-27 05:19
  1. house = Graphics[{(*main house*)Brown, Rectangle[{0, 0}, {5, 4}],
  2.    (*chimneys*)Blue, Rectangle[{1, 4}, {1.5, 5}], Rectangle[{3.5, 4}, {4, 5}],
  3.    (*roof*)Red, Triangle[{{0, 4}, {2.5, 5}, {5, 4}}],
  4.    (*windows*)LightBlue, Rectangle[{0.5, 1.5}, {1.5, 2.5}], Rectangle[{3, 1.5}, {4, 2.5}],
  5.    (*door*)Green, Rectangle[{2, 0}, {2.75, 1}]},
  6.    (*set options for house*)PlotRange -> {{-0.5, 5.5}, {-0.5, 5.5}}, AspectRatio -> Automatic, ImageSize -> Medium, Axes -> None]
Copy the Code
New Text Document.gif

Quick Reply

Advanced Mode
B Color Image Link Quote Code Smilies
You have to log in before you can reply Login | Register account

$\LaTeX$ formula tutorial

Mobile version

2025-7-20 05:49 GMT+8

Powered by Discuz!

Processed in 0.012356 seconds, 25 queries