Hi Alan, > I assume you are referring to the kind of plot that is discussed in > http://en.wikipedia.org/wiki/Box_plot.
Yes, that's what I mean. > We currently have no higher-level API to support that. Of course, > you could make your own function to do that using lower-level PLplot > commands. I am now drawing such a box plot. I also want to mark outliers with circles. Which aspect ratio do I need to draw undistorted circles? (In other words: How to map world to device coordinates?) As I don't want to use "o" letters, I tried the following, but it gives me ellipses, e.g. when called in x12c.c: plcircle(PLFLT x, PLFLT y) { PLFLT vpxmin, vpxmax, vpymin, vpymax; PLFLT ratio, rx, ry; int i; static PLFLT cx[31], cy[31]; /* get axis ratio */ plgvpw(&vpxmin, &vpxmax, &vpymin, &vpymax); ratio = (vpxmax -vpxmin) / (vpymax -vpymin); ry = 1.; rx = ratio * ry; for (i = 0; i <= 30; ++i) { cx[i] = x + cos(i / 30. * 2. * M_PI) * rx; cy[i] = y + sin(i / 30. * 2. * M_PI) * ry; } pllsty(1); plline(31, cx, cy); } (I also don't understand the meaning of plgvpd(). What exactly are "normalized device coordinates", e.g. when I use the wxwidgets device?) -- Robert ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general