About double buffering (-db)

  • Cesar M Vieira

    Cesar M Vieira - 2011-12-19


    I am learning about PLplot and I have a problem with the Xwin. I can't see the points of my graphic without flickering all the time. I have read somewhere that I can use -db to solve this problem on command line, but I don't know how to compile using -db.

    To compile my program (in C), I write gcc file.c -lplplotcxxd

    Can you help me?

    Thank you.



  • Werner Smekal

    Werner Smekal - 2011-12-19

    Hi Cesar,

    the -dp option is a command line option to be used with plplot programs, e.g. try to use this option (or similar options) on the example programs x01c etc. In your own program you can set this option using the plsetopt function. See http://plplot.sourceforge.net/docbook-manual/plplot-html-5.9.9/plsetopt.html.



Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks