Joke Collection Website - Public benefit messages - Can matlab3 draw two figures?

Can matlab3 draw two figures?

0 1plot function to draw 3D graphics.

Plot3(x, y, z) function

Plot3 (x, y, z)-x, y, z are vectors with the same length.

Plot 3 (x, y, z)-x, y, z is a matrix with the same dimension.

Plot3 (x, y, z, s)- with switch value.

Plot 3(x 1, y 1, z 1,' s 1', x2, y2, z2,' s2', ...)

1.Plot3 (x, y, z) function

Plot3(x, y, z)-x, y, z are vectors with the same length.

Plot3(x, y, z)-x, y, z are matrices with the same dimension.

Figure 3(x, y, z, s)- with switch

Plot 3(x 1, y 1, z 1,' s 1', x2, y2, z2,' s2', ...)

Example 1:

On the basis of example 1, draw two three-dimensional figures at the same time.

The coordinate axes and titles of two-dimensional drawings, as well as the setting of basic features, are suitable for three-dimensional drawings, as shown in Example 2.

Drawing three-dimensional graphics with 02surf function

Surf(x, y, z) function

Using surf command to draw can get a colorful three-dimensional surface map.

Surf(x, y, z) function

A colorful three-dimensional surface can be obtained by drawing with surf command.

Example 3:

Meshgrid is a function used to generate grid sampling points in MATLAB.

Meshgrid is a function used to generate grid sampling points in MATLAB.

Drawing three-dimensional graphics with 03mesh function

Mesh(x, y, z) function is used to draw a three-dimensional grid diagram.

Grid (x, y, z, c)

(x, y) is the grid coordinate matrix;

Z is the height matrix on the grid;

C is used to specify the surface color at different heights. When c is omitted, z=c by default, and the color setting is proportional to the height of the image.

Mesh (x, y, z) function is used to draw 3D mesh map.

Grid (x, y, z, c)

(x, y) is the grid coordinate matrix;

Z is the height matrix on the grid;

C is used to specify the surface color at different heights. When c is omitted, z=c is the default value, and the color setting is proportional to the height of the image.

References:

Baidu, Google Translate

This article was originally written by LearningYard Academy. If there is any infringement, please contact to delete it.

/kloc-released 0/years ago, and the copyright belongs to the author.

Like 0

share

Comment 0

What is the actual experience of Cobos sweeping robot X 1 OMNI? (Double Twelve Hidden Activities)

A dad.

Does Cobos sweeping robot X 1 really work? What are the highlights? What is the slot point? This article will answer your questions one by one, hoping to be helpful to your purchase. This article has been written for some time, and I found that many friends came here to give feedback. I feel that my side has become the official customer service, haha. However, you are welcome to communicate with me. I will try my best to answer you whether it is a comment or a private letter. Double Twelve Special Update: Double Twelve Tmall, JD.COM, official mall to send 1000 yuan accessories package/water and water, one more step can add 899…

Have you ever met something that made you think deeply and fear?

Chen Xiao

In the summer vacation of 2008, late at night, I was targeted by a pervert on the bus. Later, I learned that he has been eyeing me since the first time he saw me, and has been eyeing me 12 years. At first, I didn't know that man was my boyfriend's father ... 1.08 autumn, I lived with my boyfriend. To escape the marriage my dad arranged for me. It was the first time I lived with my boyfriend. A shabby old community, two bedrooms, more than 70 flats, peeling walls, and the bathroom is still squatting. If it weren't for Zhou Yunkai, I might never live in such a house and still be so happy. I have an underground relationship with Zhou Yunkai. He told me vaguely about his life. Single-parent families are not rich, and their fathers are sick. For my dad, who has always respected the right relationship, this is a love that will never be recognized by him. Therefore, I have been hiding Zhou Yunkai's existence. As a result, my dad recently introduced me to an object. Like an arranged marriage, I made up my mind to live with Zhou Yunkai. This week is my best day. I lied to my family that I was on a business trip, but in fact I lived a cautious life. Three meals a day, sweet talk, practicing boxing during the day, reading and studying in the afternoon, and late-night movies in Hong Kong and Taiwan. We sleep in separate beds, but we are like lovers for many years. Until, I saw a news that made my hair stand on end. It says that there have been three disappearances in our town in recent days. There are no fingerprints at the crime scene. One of the naked female bodies was found floating on the river after missing for many days. that this is not the important question. The point is, I once saw a photo of a female corpse when I was cleaning Zhou Yunkai's bedroom! That's a photo of a middle-aged woman, hidden in Zhou Yunkai's notebook. I asked him if he was his mother. He said no, "She is a bad person in TV series, so don't be afraid." "Bad people all die." Now I know that the bad guy is really dead. However, she is a real person ... 2. After that day, I began to have a fear of Zhou Yunkai from the bottom of my heart. Intuition and his reply are telling me that he is hiding something from me, and I know nothing about it. I tried to pretend that I didn't know anything, and Zhou Yunkai continued to live a sweet and quiet cohabitation life. But the strange things that happened next made me more and more uneasy. It was the night of Mid-Autumn Festival, and I went to take a bath. I have been wearing a hearing aid because of my ear disease. But that time, I forgot to pick it. When the fog rises, I think of the hearing aid in my ear. I was in a hurry to take it off when I heard Zhou Yunkai's conversation in the living room. "All processed." "Yes, it won't be found." "No goal?" "They have nothing to do with this. The more I listen, the more scared I am. But when I got up the courage to open the bathroom door, Zhou Yunkai hung up at a very fast speed and looked at me calmly. " Why is it so fast today? "He asked, Oh … the water is a little cold …" I still didn't dare to ask him questions. Yun Zhou nodded, casually put on a sweater coat and casually said, I'm going out to do something. But today is the Mid-Autumn Festival! I wanted to say this, but because of the fear these days, I only dared to nod cleverly. I felt wronged when I closed the door and decided to keep it. As a result, as soon as I put my hand on the handle, I heard a locking sound outside the door. My heart suddenly sank. In retrospect, Zhou Yunkai and I just lived together for less than half a month. But he installed the fence of the window in the fastest time and changed the door lock that can be locked from the outside. Yun Zhou Kay once told me that everything he did was to prevent me from being taken away by my father. But ... but, I suddenly woke up. I haven't been out of the house for more than a week, even once in the corridor, except for my mobile phone in my hand! In other words. It was Zhou Yunkai who imprisoned me in disguise! ? When this idea came out, I got goose bumps all over. At the moment when his brain was running fast, I noticed that his computer was not turned off. I swallowed water, walked into his bedroom, picked up the mouse, clicked on the webpage, and put the mouse on the search bar. Then, the search history that appeared on the screen almost broke through my last psychological defense. "Dumping a corpse movie", "Perfect crime" and "How to judge intentional homicide" ... When I clicked on these search records, I saw that every corresponding link turned purple. That's a click sign. So ... my boyfriend who has been living with me is actually a murderer? I hardly dare to think about it any more. I was about to take my mobile phone to call the police for help and escape from this room when suddenly a voice came from behind me. "Zhao Miao. ""What are you doing ...? " I suddenly turned around and saw Zhou Yunkai with a sullen face, blocking the door and staring at me. I put on a stiff smile and walked towards him. That was the longest step in my life-because I saw Zhou Yunkai wearing a dagger around his waist. I came to see Zhou Yunkai. I said, your computer is not turned off. I want to help you turn it off. Look ... I pointed to the computer. Then, while his eyes turned to kung fu, he kicked him in the abdomen! Suddenly, he began to cry loudly. I rushed to the door in the confusion. The corridor in the middle of the night is dark and silent, and the sound control lights are flickering. I made two steps in three steps, panting and jumping down the steps quickly. This is the first time I have been outside the building since I moved in. In the old community in the middle of the night, a few steps away from home is a secluded path. There is no taxi at all. I shouted and ran aimlessly. It was not until I ran 100 meters that I noticed a 304 bus parked in front. Only then did I realize that the most dangerous night of my life had arrived. I ran to the bus, as if I heard my cry, and the bus stopped at the same place. Behind me, Zhou Yunkai shouted my name. In my hearing aid, the sound is getting stronger and weaker. Looking back, his vague figure was in hot pursuit. I used up my last strength and got on the bus. I quickly shouted: close the door, driver! ! The car has already started. I took a deep breath and stood up. I was about to tell the bus driver to drive to the police station, but I noticed that this was an extremely strange driver. His right arm was exposed. Unexpectedly, it was a prosthetic limb. I don't know if I think too much. However, the news said that in the three cases of disappearance, no fingerprints were left at the presumed scene of the victim's disappearance, whether it was stunned or forcibly taken. Prosthetics, on the other hand, have no fingerprints. I immediately shut up, pretended not to know and sat back. Then, I realized something, quietly turned around and glanced at the only passenger on the bus except me. That's a drunk. It is especially inappropriate for a man to bury his head and his clothes are loose and sloppy. And ... the body has no breathing fluctuations. A terrible thought can't help jumping out of my mind. I swallowed water, took out my mobile phone trembling and took a photo, and kept looking at it after zooming in. Gradually, I finally figured out what happened to that man. Goose bumps instantly covered my whole body, and even my chest swelled with a feeling of nausea and vomiting. That drunk is a corpse. The body of the driver. 5, sweat, dripping on the screen of the mobile phone, dripping on the pale body of the driver in the screen. I almost burst into tears and regretted it, scolding myself why I got on this bus. Why not give Zhou Yunkai more trust? I had to suspect that he was the murderer, but I forced myself to calm down, take a deep breath and call 1 10 immediately. I looked up again, but I was shocked. Middle-aged people are staring at me through the rearview mirror. He made an action: the prosthetic twisted the button and turned off the radio in the car. Suddenly, the car was silent. I know that as long as I make a sound or even leave his sight, I will be found. At this time, I caught a glimpse of Yu Guangzhong, and the alarm phone had been dialed, and the voice of the police officer came. I clutched my mobile phone tightly and looked at the middle-aged man through the rearview mirror. I dare not breathe in the atmosphere for fear of making any noise. In my mind, there is only one thought left: once the car stops, it may be my death. Until I saw, the phone interface, there was a text message. That's Zhou Yunkai's message. "The driver is very dangerous! Try to run! 6. The bus runs on the deserted road in the suburbs. I didn't have time to ask Zhou Yunkai. How did he know that the driver was dangerous? However, I observed it. There is a life-saving hammer hanging on the left seat window. Only when I get the life-saving hammer, break the glass and jump out of the car as quickly as possible can I have one in ten thousand vitality. The time left for me is only about twenty seconds after the middle-aged man stepped on the brake and rushed from the driver's seat. I preset a lot of actions in my mind to make sure that I can be foolproof before stretching. Pretend to walk carelessly. Step by step move to the seat under the life-saving hammer. After taking a deep breath, I quickly reached out! Almost at the same second, there came the sound of the bus slamming on the brakes! The inertia of the bus's emergency stop made my head hit the front seat. At the same time, the car's stereo, open to the maximum. My brain roared through the hearing aid. I couldn't help moaning and then looked up. In the vague sight, the middle-aged man strode towards me. He has a long, narrow and sharp meat cleaver in his hand. 7. In those few seconds, I have never been so glad that I have practiced Taekwondo for many years. I quickly got up and stepped back. Give yourself enough time, bend down, raise your arms and make a fist. Even a gladiator is my last chance. Middle-aged people see my posture, leng, standing in situ, unexpectedly threw the meat chopper behind them. He spoke for the first time: "Oh?" That's a playful tone. But because he stopped, I took the opportunity to adjust my breath and get myself into the best state. In do or die, I can feel that I can control every muscle. Eyes, staring at middle-aged people. Sweat dripped from my forehead, and I didn't dare blink. At the moment when adrenaline soared, the middle-aged man spoke again: Zhao Miao, right? Zhao Tiansheng's daughter, I can't help but be dumbfounded. When I first met the middle-aged man, he gave me another grimace. "Twelve years ago, I was eyeing you. Originally, I decided to leave you children to their fate, but I didn't expect you to hit the door yourself. " ..... So ... When he finished, I didn't even have a rebellious last ounce of courage. This is a pervert who tried to kill me 12 years ago? I remember I was just regretting why I had to catch this train. Now I understand whether I get on the bus or not. My end is sealed. At this moment, I suddenly thought of Zhou Yunkai. What the hell is he doing with a knife? Would it make any difference if he were here? 8. I don't even know if what I just said is psychological warfare for middle-aged people. However, he did do it when I was most afraid and distracted! The middle-aged man punched me straight with his left hand and rushed to my forehead with a sharp wind. I quickly sideways, squeeze out last ounce of courage, and kicked my leg at the same time. Maybe middle-aged people are too old to reflect and dodge. I suddenly had hope: I have absolute confidence to play this kick well. However, the next second, there was a sharp pain in my ankle. The middle-aged man grabbed my foot with his right hand. He didn't dodge at all, but used that reinforced prosthesis! At the moment of severe pain, I understood Master's words more and more. Ten years ago, Master told me earnestly that the most effective way to defeat a person is to break his heart. The original meaning of this sentence is that there is a kind of person in this world that you can't beat anyway. Right in front of my eyes, the middle-aged man firmly grasped my ankle and immediately threw me to the ground. The last thing I saw was his fist with thick cocoon, hitting me in the face. 9. When I woke up again, I was tied under the seat at the back of the carriage. Mouth, blocked by a smelly rag. You can't move your whole body except your neck. I don't know where the bus has gone, let alone where he is taking me. I tried to save myself. My whole body is writhing, just wasting my energy. Your mouth tried to spit out the rag until your cheeks ached, but it didn't help. I don't know how long it took, five minutes, ten minutes, or half an hour. My face is full of dry tears and uncontrollable saliva. It was the most desperate moment of my life. I can't figure out why I have to put up with all this. And just when I was desperate, the car stopped again. I heard there was another passenger in the car! In an instant, I had a strong desire to survive, and my whole body twisted again, sobbing as loudly as possible. At the same time, a pair of canvas shoes appeared in my sight. My eyes kept moving up, canvas shoes, jeans, black shirt, wheat-colored neck … When I saw that face, I froze. The new passenger is Zhou Yunkai. ..... How did he get here? In addition to the flash of shock in my mind, I have a strong desire to survive. I continued to wriggle, trying to make a louder sound. In the line of sight, Zhou Yunkai seems to really hear it. He cocked his head and frowned and walked in my direction. I have never been so excited, so excited that I want to cry. Three steps later, he stood in the middle of the carriage in front of me. He looked down and saw me, staring at each other. It was my familiar eyes, with a hint of melancholy and despair. As a result, in my hopeful eyes, Zhou Yunkai turned his head. In the speeding carriage, I only heard him say vaguely, "Dad. 」

102 1 like 36 comments on salt selection recommendation

+

Relevant suggestions

Matlab three-dimensional drawing

study place