4 May 2017

draw rectangle, polygon and circle in Matlab

收藏到CSDN网摘
To draw these shapes in Matlab, different ways could be used to achieve this. Write your own function to use plot(), or use rectangle() or use patch().

Pros:
The rectangle() can be used to draw ellipse, circle, round-corner rectangle as well if you specify the 'Curvature' parameter.

The plot() and patch() uses the same input as (x,y) list, which means x, and y are vectors of corresponding coordinates. You can use these two function draw polygons with any number of points.

Cons:
rectangle() uses input as [x,y,w,h] rather than (x,y) list. rectangle() can only accept input as a 4 elements vector. It requires calling of daspect([1,1,1]) to make the equality along each axis. However, it is very handy if you are drawing proper rectangle and circle.

16 comments :

  1. norton.com/setup sells Retail Cards which is available in many retail stores. Norton Retail Cards allow you to download your security product from the internet rather than installing from a CD. Downloading security product from the internet ensures you, your setup is the most recent version. Due to viruses and other malicious software it is very tough to install Norton product for normal computer users.
    norton.com/setup sells Retail Cards which is available in many retail stores. Norton Retail Cards allow you to download your security product from the internet rather than installing from a CD. Downloading security product from the internet ensures you, your setup is the most recent version. Due to viruses and other malicious software it is very tough to install Norton product for normal computer users.
    www.mcafee.com/activate have the complete set of features which can protect your digital online and offline life of the computing devices, and it not only help you to protect it but also it can maintain the stability of your computer.
    www.office.com/setup Help – Step-by-Step guide for Microsoft Office – Activate, Donwload & complete installation from www.office.com/setup online. We are providing independent support service if in case you face problem to activate or install Microsoft office product.
    norton.com/setup sells Retail Cards which is available in many retail stores. Norton Retail Cards allow you to download your security product from the internet rather than installing from a CD. Downloading security product from the internet ensures you, your setup is the most recent version. Due to viruses and other malicious software it is very tough to install Norton product for normal computer users.

    ReplyDelete
  2. Norton has vast range of software such as Norton security premium, Norton Security Basic, Norton Security Standard, Norton Internet Security, Norton 360, and Norton Antivirus etc, which provides the protection from threats and identity theft and monitors the antimalware. The security or protection provided by the Norton is better than any other security tool, because of it's unique structure and easy to use interface it is very popular among the users.

    norton.com/setup

    ReplyDelete

  3. McAfee Installation is such an easy or simple process as you have to make sure that above-mentioned prerequisites should be fulfilled before getting started with the McAfee Activation Process.

    mcafee.com/activate

    ReplyDelete
  4. office.com/setup - Now you don't have to worry about Office Product key setup, It is easy and quick to setup. Get started with Office and Install Office.

    ReplyDelete
  5. Are you getting the Airprint Not Working error frequently while printing wirelessly through your device. Then if free to visit our blog at Airprint Not Working to resolve this error soon enough.

    ReplyDelete
  6. To purchase Bitcoin at Walmart, you need to visit the store, and purchase Bitcoin from the service desk by paying the amount for it in cash or via credit card.

    ReplyDelete
  7. This blog is really great. The information here will surely be of some help to me. Thanks!. send flowers to mumbai

    ReplyDelete
  8. If you are looking for bloggers, please let us know. Your position is very good, I think I will have a great advantage.
    If you want to lose some weight, I'm happy. Write something about your blog in exchange for my link. If you are interested, please email me, thanks!
    driver booster 7 2 pro key
    origin pro key
    sketchup pro crack
    microsoft office 2019 professional plus crack

    ReplyDelete
  9. Thanks for another informative blog. The place else
    could I am getting that kind of information written in such
    an ideal way? I’ve a undertaking that I am just now operating on, and I’ve been on the glance out for
    such info.
    windows download
    window 12 activation key
    icecream screen recorder crack
    avast premier crack license key

    ReplyDelete
  10. Paypal login: Paypal is an online payment platform that allows users to pay for items with the help of a protected internet account. You can pay to any other platform by simply adding your bank account, credit card, or debit card details. Then, You have to choose which of your cards or accounts it pays with. You can also set one to be the default payment method. From big brands to little boutiques, you can shop safely at millions of online stores with PayPal login.


    aka.ms/remoteconnect allows users to play the Minecraft game at home with other people with devices such as a computer, PSP other than their own. With the help of The aka.ms/remoteconnect website. Users can easily run Minecraft on the PS4, Nintendo Switch for the best playing experience without any error if the Individual does not have any Microsoft systems.

    ReplyDelete
  11. I am very impressed with your writing talents as well as your format
    blog This is a paid theme or you have changed it
    You? In any case, stay up to date with excellent, high-quality lyrics, that's it
    Today, I rarely see such a beautiful blog.
    picpick crack license key
    avg driver updater crack

    ReplyDelete
  12. www.amazon.com/mytvYou can now watch Amazon Prime Videos on your TV and mobile devices. Amazon Prime members are eligible to receive unlimited access to thousands more Prime Video titles for no additional charge. ToAmazon Prime Video activationAfter signing in, you will receive an Amazon mytv code.Amazon.com/mytvEnter the amazon activation code in your smartphone or laptop
    www.primevideo/mytv
    primevideo/mytv
    primevideo/mytv
    primevideo/mytv
    primevideo/mytv

    ReplyDelete
  13. Users can stream the best online movies and shows via streaming.www.amazon.com/mytvAccount. If a user does not have an account they will need to create one and complete the activation process. All users are advised to read this information regarding how to activate and create an account on
    primevideo/mytv
    primevideo/mytv
    www.amazon.com/mytv enter code
    amazon.com/redeem

    ReplyDelete
  14. This is truly fascinating and helpful information.
    I appreciate you sharing this information.
    share your knowledge with us
    Please let us know.
    Thank you for providing this information.
    apowersoft video converter studio crack
    wondershare mobiletrans crack
    ibeesoft data recovery crack
    window 10 pro crack

    ReplyDelete
  15. Sincerely, I'm glad that I stumbled into your website when searching on Google.
    I'm still here for another reason, and I'd want to express my appreciation for an excellent essay.
    It's an excellent site in every way (and I really enjoy the theme/design).

    avast driver updater crack
    avast driver updater crack
    tenorshare icarefone crack

    ReplyDelete
  16. I guess I am the only one who came here to share my very own experience. Guess what!? I am using my laptop for almost the past 2 years, but I had no idea of solving some basic issues. I do not know how to Crack Softwares Free Download But thankfully, I recently visited a website named Crackedfine
    Ibeesoft Data Recovery Crack
    Magic Dvd Ripper Crack

    ReplyDelete