Generate a circle in FORTRAN having polar coordinates

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
6 replies · 3K views
sharmaN
Messages
4
Reaction score
1
Say "I have grid in polar coordinates (r, theta). How do I plot it in tecplot. Tecplot plots it in cartesian coordinates."
 
Last edited:
on Phys.org
anorlunda said:
I don't understand. To make a X-Y grid, loop on X and loop on Y. To make a r-θ grid, loop on r and loop on θ.

Perhaps you want to make a rectangular grid within a circle?
DrClaude said:
Is this a question about Fortran or about Tecplot?
About Techplot.
 
Ifound in tecplot to plot in polar coordinates, need to select polar line. Thanks
 
FYI, in any language, if you let ##\theta## go from 0 to ##2\pi## then the points with cartesian coordinates ##x = r \cos(\theta), y = r \sin(\theta)## will be spaced around the circle of radius ##r##.
 
RPinPA said:
FYI, in any language, if you let ##\theta## go from 0 to ##2\pi## then the points with cartesian coordinates ##x = r \cos(\theta), y = r \sin(\theta)## will be spaced around the circle of radius ##r##.
Yes thank you, I have the grid. Was facing problem in plotting it.