Have I done these figures correctly? If yes, how can I save them as a Jpg or png file?
1 次查看(过去 30 天)
显示 更早的评论
Could anyone tell me if I have done the three figures listed here correctly? If they are correct, how can I save them as a jpg or a png file? I have attached an *.m file for each one of the figures. Thank you very much in advance.
Figure 1 (Vary firing angle): Plot 5 second trajectories for an object with initial velocity 10 m/s. Generate a single figure that shows the trajectories for all of the following angles: 0, pi/8, pi/4, 3pi/8, pi/2, 5pi/8, 3pi/4, 7pi/8, pi
Figure 2 (Vary initial velocity): Plot 5 second trajectories for an object with firing angle pi/4. Generate a single figure that shows the trajectories for the following initial velocities: 0, 1, 2, 3, 4, …, 18, 19, 20 m/s.
Figure 3 (Vary gravity): Plot 5 second trajectories for an object with firing angle pi/4 and initial velocity 10 m/s. Generate a single figure that shows the trajectories for all of the following gravity: -20, -15, -10, -5, 0, 5, 10, 15, 20 m/s2
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graphics Performance 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!