Troubles with GnuPlot

Greetings.

When running simple scripts with the LMS API I still can’t use the gnuplot functions. I didn’t found much info to help me fix this problem. What am I missing? I am using Ubuntu.

Thanks,
Franco