CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2003
    Location
    Jodhpur -> Rajasthan -> INDIA
    Posts
    453

    How to plot contours using radial cordinates

    Hello

    I want to plot contours with radial cordinates i.e. THETA (angle value) and radius value (distance vale) around a point.

    I will be having values in following format:

    THETA DISTANCE VALUE

    NOW i need to plot contours. HOW to proceed.

    Sandeep Arya
    Leave Your Mark Wherever You Go
    http://www.danasoft.com/sig/d0153030Sig.jpg

  2. #2
    Join Date
    Jun 2003
    Location
    Bucharest, Romania
    Posts
    529

    Re: How to plot contours using radial cordinates

    you will have to convert all the points to cartesian coordonates:
    x = center.x + radius * cos(theta);
    y = center.y + radius * sin( theta);
    (theta is in radians)
    then plot it using standard CDC funtions.
    Help me help you ... rate this article if any good!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured