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

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

[Octave-bug-tracker] [bug #45494] A recent change has broken hist (randn


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #45494] A recent change has broken hist (randn (10000, 1), 30);
Date: Mon, 28 Sep 2015 09:55:35 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0

Follow-up Comment #7, bug #45494 (project octave):

I agree that at some point, we would like to have it fixed. As we can't hope
that all final rasterizing engines (printers, pdf/eps renderers, ghostscript,
...) will handle anti-aliasing properly, we should find a solution on our
side.

@Dan: I don't think your strategy will lead to any improvement. Let me
explain: whatever the way we draw polygons - using GLU for patches (which may
be concave), or using bare OpenGL GL_QUAD for axes background (convex) - they
end up being split into smaller triangles as we can see from the output of
gl2ps. So trying to distinguish between convex-concave polygons is a no go.

So I'd say *OpenGL = tesselation*. Strategies I think about (none is simple)
:
* Use gl2ps SVG backend/parse SVG/reconstruct polygons/convert to other
formats: the process of recognizing what triangle belongs to what polygon may
be time consuming. To easy that job, we could add comments in gl2ps svg output
using "gl2psSpecial" function.
* Write a new renderer for 2D plots using Cairo: this is, I think, the long
term solution towards publication quality outputs

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45494>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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