Re: use perl to draw Venn Diagram



On Mon, 28 Apr 2008 07:59:55 +0800, "Ela" <ela@xxxxxxxxxx> wrote:

Perl has a GD library. But its circle, arc, line and alike seem to have
limited applications.

I just want to plot 2 circles, one with solid line and another with dotted
line, overlapping with each other according to an input overlapping
parameter (I guess this feature may be achieved by locating the 2 centers
accordingly). Finally write some texts in the centers of the 2 circles. Any
suggestions? Matlab can achieve that easily and is Perl really unable to do
that?

Yeah, see my replies in http://perlmonks.org?node_id=502389 for ways to
do it with Tk, Gtk2, and Tk::Zinc.

Writing text is a simple addition. You can also save the Canvases if
desired to a pdf or jpg, etc, and you can add mouse-dragging if wanted.

zentara


--
I'm not really a human, but I play one on earth.
http://zentara.net/japh.html
.



Relevant Pages

  • use perl to draw Venn Diagram
    ... Perl has a GD library. ... I just want to plot 2 circles, one with solid line and another with dotted ... overlapping with each other according to an input overlapping ... Finally write some texts in the centers of the 2 circles. ...
    (comp.lang.perl.misc)
  • use perl to plot Venn Diagram
    ... circle, arc, line and alike seem to have limited applications. ... I just want to plot 2 circles, one with solid line and another with dotted ... overlapping with each other according to an input overlapping ... Finally write some texts in the centers of the 2 circles. ...
    (comp.graphics.apps.gnuplot)
  • Plotting underneath existing points
    ... I need help with a plot. ... circles - so that the user will have their eyes drawn ... cluster of data in solid in the interior of the 'o', ... cluster number of the biggest cluster. ...
    (comp.soft-sys.matlab)
  • Re: graphing/data processing question
    ... so I am not going to get a nice neat intersection of three circles ... some sort of visual representation of my data. ... Plot a circle aound each center with the ... specified radius. ...
    (comp.soft-sys.matlab)
  • Re: How to display values on a plot
    ... points on an x-y plot? ... I want each the value in indic to show up in the plot ... instead of default circles so that i know where each pair ... then set scaling for the x- and y-axes by axis function ...
    (comp.soft-sys.matlab)