Results 1 to 4 of 4

Thread: How to plot filled polygons in QwtPlot

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2008
    Location
    California, USA
    Posts
    18
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default How to plot filled polygons in QwtPlot

    Hi,
    I'm looking for an example that will help me plot filled polygons from a Voronoi diagram in a QwtPlot chart widget.
    http://en.wikipedia.org/wiki/Voronoi_diagram

    I can currently generate the Voronoi diagrams, extract closed polygons for each Voronoi cell, and post the polylines in QwtPlot. I can also add RGB color attributes to these cells; however, I'd like to take this one step further by plotting each filled polygon in a QwtPolt widget by the colors I've generated.

    Any help is appreciated.

  2. The following user says thank you to EliGri for this useful post:


Similar Threads

  1. Vertical plot with qwtplot
    By alizadeh91 in forum Qwt
    Replies: 1
    Last Post: 1st February 2012, 07:24
  2. Replies: 13
    Last Post: 20th September 2011, 09:50
  3. Replies: 12
    Last Post: 31st October 2010, 17:08
  4. Performance with many filled polygons on screen
    By lni in forum Qt Programming
    Replies: 10
    Last Post: 14th September 2009, 10:53
  5. Replies: 4
    Last Post: 14th May 2009, 10:31

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.