![]() |
HP Prime - Drawing a circle from a program - Printable Version +- HP Forums (https://archived.hpcalc.org/museumforum) +-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html) +--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html) +--- Thread: HP Prime - Drawing a circle from a program (/thread-255057.html) |
HP Prime - Drawing a circle from a program - Jean-Michel - 11-06-2013 Hello Re: HP Prime - Drawing a circle from a program - Thomas Chrapkiewicz - 11-06-2013 ARC(G,x,y,r,a1,a2,c) or ARC_P (G,x,y,r,a1,a2,c) Page 538 in Edition 1, July 2013, User Guide.
TomC
Re: HP Prime - Drawing a circle from a program - Eddie W. Shore - 11-06-2013 Note: radius (r) is always in pixels, regardless of whether ARC or ARC_P is used. So if you are using the Cartesian version of ARC, convert the radius first.
X point to pixel: integer((x - Xmin)/(Xmax - Xmin)) * 318 Y point to pixel: integer((y - Ymax)/(Ymin -Ymax)) * 218
Also you can use the C>PX command in the catalog. C>PX(x,y) returns the list {x pixel, y pixel}.
Re: HP Prime - Drawing a circle from a program - Jean-Michel - 11-07-2013 Bonjour Thomas Re: HP Prime - Drawing a circle from a program - Mic - 11-07-2013 elle n'existe pas, tu dois utiliser ARC_P
Re: HP Prime - Drawing a circle from a program - Tim Wessman - 11-07-2013 Because "circle" implies that you are drawing a complete circle exclusively. ARC can draw curved arcs between 0<x<2pi angular values.
TW
Re: HP Prime - Drawing a circle from a program - Jean-Michel - 11-07-2013 Mic |