<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Using_PLplot</title><link>https://sourceforge.net/p/plplot/wiki/Using_PLplot/</link><description>Recent changes to Using_PLplot</description><atom:link href="https://sourceforge.net/p/plplot/wiki/Using_PLplot/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 03 Nov 2018 21:29:42 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/plplot/wiki/Using_PLplot/feed" rel="self" type="application/rss+xml"/><item><title>Using_PLplot modified by Alan W. Irwin</title><link>https://sourceforge.net/p/plplot/wiki/Using_PLplot/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -1,3 +1,15 @@
+
+
 `if you installed PLplot in the standard location.`

 Linux
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alan W. Irwin</dc:creator><pubDate>Sat, 03 Nov 2018 21:29:42 -0000</pubDate><guid>https://sourceforge.net1d3a02fa7fb3d31a471311388caedcdc83febd3a</guid></item><item><title>Using_PLplot modified by Alan W. Irwin</title><link>https://sourceforge.net/p/plplot/wiki/Using_PLplot/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alan W. Irwin</dc:creator><pubDate>Sun, 05 Oct 2014 20:09:34 -0000</pubDate><guid>https://sourceforge.net80a826c38139fabd45cb92c5c5f5ada14ae72d13</guid></item><item><title>Using_PLplot modified by Alan W. Irwin</title><link>https://sourceforge.net/p/plplot/wiki/Using_PLplot/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;code&gt;if you installed PLplot in the standard location.&lt;/code&gt;&lt;/p&gt;
&lt;h2 id="linux"&gt;Linux&lt;/h2&gt;
&lt;h3 id="cc"&gt;C/C++&lt;/h3&gt;
&lt;p&gt;If the &lt;tt&gt;pkg-config&lt;/tt&gt; is available and CMake found it during the configuration stage than programs might be compiled for C via:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;gcc `pkg-config --cflags --libs plplotd` prog.c -o prog&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;For C++:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;g++ `pkg-config --cflags --libs plplotd-c++` prog.cpp -o prog&lt;/code&gt;&lt;/p&gt;
&lt;h2 id="windows"&gt;Windows&lt;/h2&gt;
&lt;h3 id="cc_1"&gt;C/C++&lt;/h3&gt;
&lt;p&gt;Although &lt;tt&gt;pkg-config&lt;/tt&gt; is not a standard Windows utility, there is a win32 binary available from &lt;a class="" href="http://www.gtk.org/download-windows.html" rel="nofollow"&gt;GTK&lt;/a&gt; &lt;a class="" href="http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config-0.23-2.zip" rel="nofollow"&gt;(Direct link)&lt;/a&gt;. Be sure to set the PKG_CONFIG_PATH variable to the &lt;code&gt;&amp;lt;PLplot install&amp;gt;&lt;/code&gt;\lib\pkgconfig directory so it can find the PLplot files. You will still not be able to call &lt;tt&gt;pkg-config&lt;/tt&gt; directly from the gcc/g++ command since the Windows CLI does not support `` (backticks), but at least you can copy and paste the options.&lt;/p&gt;
&lt;p&gt;If you built PLplot with the wxWidgets driver, a win32 binary of &lt;a class="" href="http://wxconfig.googlepages.com" rel="nofollow"&gt;wx-config&lt;/a&gt; &lt;a class="" href="http://wx-config-win.googlecode.com/svn/binary/wx-config.exe" rel="nofollow"&gt;(Direct link)&lt;/a&gt; may also be useful.&lt;/p&gt;
&lt;h3 id="localization"&gt;Localization&lt;/h3&gt;
&lt;p&gt;PLplot supports the use of so-called locales (under Windows also known as &lt;em&gt;regional settings&lt;/em&gt;) via, for instance the command-line option &lt;tt&gt;-locale&lt;/tt&gt;. If you give this option, then numeric labels along the axes will be drawn using the decimal separator of the locale.&lt;/p&gt;
&lt;p&gt;There is a difference with the way locale settings work under Windows compared to Linux:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Under Windows the regional settings from the &lt;em&gt;Control Panel&lt;/em&gt; are used. There is apparently no effect from environment variables like LC_NUMERIC - The names of locales (you can set them in a C program via the function setlocale()) are different: &lt;tt&gt;Dutch_Netherlands&lt;/tt&gt; for instance, instead of &lt;tt&gt;nl_NL&lt;/tt&gt; under Linux. For other languages there may or may not be direct support. - On input a period is used, not the regional character. On output, it &lt;em&gt;is&lt;/em&gt; used.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;em&gt;Note:&lt;/em&gt; the statements above are based on experiments with MicroSoft Visual C/C++ 6.0 and MicroSoft Visual C/C++ 2008 compilers. It is not clear at the moment if other compilers available under Windows behave in the same way.&lt;/p&gt;
&lt;p&gt;The simplest method of using localization on Windows is presumably the use of the &lt;em&gt;Regional Settings&lt;/em&gt; utility from the &lt;em&gt;Control Panel&lt;/em&gt;.&lt;/p&gt;
&lt;h2 id="mac-os-x"&gt;Mac OS X&lt;/h2&gt;
&lt;h3 id="cc_2"&gt;C/C++&lt;/h3&gt;
&lt;p&gt;The content of this page is available under the &lt;a class="" href="http://www.gnu.org/copyleft/fdl.html" rel="nofollow"&gt;GNU Free Documentation License 1.2&lt;/a&gt;.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alan W. Irwin</dc:creator><pubDate>Sun, 05 Oct 2014 06:11:23 -0000</pubDate><guid>https://sourceforge.net8c8399249d53c1d0d476773530c3bccf5da4acbf</guid></item></channel></rss>