octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #58429] Export of plotted circles to SVG could


From: anonymous
Subject: [Octave-bug-tracker] [bug #58429] Export of plotted circles to SVG could use SVG circle primitive
Date: Mon, 25 May 2020 00:27:38 -0400 (EDT)
User-agent: Mozilla/5.0 (Android 8.0.0; Mobile; rv:68.0) Gecko/68.0 Firefox/68.0

Follow-up Comment #3, bug #58429 (project octave):

Let me work on it offline this week. I'd like at least the plot primitives to
be covered as SVG primitives (circles and ideally squares, maybe others). My
current workaround code is very ad hoc: it simply takes the arithmetic mean of
the 10 points to use as the center, and the Euclidean distance of that center
from the points as the radius. There's a check that if the center-to-point
distance displays too much variance then it's not a circle to begin with. I
also have code to write SVG circle primitives from data directly without going
through plot and gl2ps. But that code only works for my limited case.

I can do it as a post processor after gl2ps. That would keep the architecture
constant.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58429>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]