Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

About double buffering (-db)

2011-12-19
2013-03-15
  • Cesar M Vieira
    Cesar M Vieira
    2011-12-19

    Hello,

    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.

    Regards,

    César.

     
  • 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.

    Regards,
    Werner