The initial 3 errors are due to your program looking for color palette files that it requires and not finding them.  They're located under the plplot\bindings\tk\ folder of the plplot source tree.  There are also a number of palette files located in the plplot\data\

Copy the palette files to the folder where your exe is located and run it again.

From: "Lampman, Adam J" <>
To: "" <>
Sent: Wednesday, October 16, 2013 3:00 PM
Subject: [Plplot-general] Device selection problems

I’m completely new to PLplot. I’ve been trying to get it working for a while now, but I keep having problems with it. My goal is to use it to create plots in jpeg format. I’m not looking for interactive plots, a user interface, command line args, or anything fancy. I’m using Microsoft Visual Studio 2012 and I’m writing the code in C++. I’ve copied the x00 C++ example from the PLplot Examples page (nearly) word for word, and this is the output I get:
Unable to open cmap0 file cmap0_default.pal
Unable to open cmap0 file cmap0_default.pal
Unable to open cmap1 .pal file cmap1_default.pal
plInitDispatchTable: Could not open drivers directory, aborting operation
Plotting Options:
Enter device number or keyword (stream 1):
According to the documentation I’ve seen, it should be listing output options for me. Of course, the fact it can’t find the drivers directory may have something to do with that. I’ve tried putting in “JPEG” and many other keywords I’ve seen ,but nothing works. What do I need to do to get this to output jpegs? Do I need some sort of special jpeg driver?
Adam Lampman

This message is intended only for the individual or entity to which it is addressed and contains information that is proprietary to The Babcock & Wilcox Company and/or its affiliates, or may be otherwise confidential. If the reader of this message is not the intended recipient, or the employee agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by return e-mail and delete this message from your computer. Thank you.

October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
Plplot-general mailing list