<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>Comments on: Plotting Fun with ILNumerics and IronPython</title>
	<atom:link href="https://ilnumerics.net/blog/plotting-fun-with-ilnumerics-and-ironpython/feed/" rel="self" type="application/rss+xml" />
	<link>https://ilnumerics.net/blog/plotting-fun-with-ilnumerics-and-ironpython/</link>
	<description>The Productivity Machine  &#124;  A fresh attempt for scientific computing  &#124;  http://ilnumerics.net</description>
	<lastBuildDate>Wed, 10 Mar 2021 05:36:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.41</generator>
	<item>
		<title>By: david tasker</title>
		<link>https://ilnumerics.net/blog/plotting-fun-with-ilnumerics-and-ironpython/#comment-14048</link>
		<dc:creator><![CDATA[david tasker]]></dc:creator>
		<pubDate>Mon, 02 Feb 2015 19:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://ilnumerics.net/blog/?p=599#comment-14048</guid>
		<description><![CDATA[The issue was due to my opengl driver being too old. Installing the latest drivers for the graphics card resolved the issue.

OpenGL Version String: 2.1.2

Vendor: NVIDIA Corporation, GLSL Version: 1.20 NVIDIA via Cg compiler, Renderer: Quadro FX 580/PCI/SSE2

Extracted version number: 2.1

Exception in ILOGLControl(): System.NotSupportedException: The OpenGL driver version available is not sufficient. Needed: 3.1. Available: 2.1

   at ILNumerics.Drawing.ILOGLControl..ctor()

OpenGL Version String: 3.1.0

Vendor: NVIDIA Corporation, GLSL Version: 1.40 NVIDIA via Cg compiler, Renderer: Quadro FX 580/PCI/SSE2

Extracted version number: 3.1]]></description>
		<content:encoded><![CDATA[<p>The issue was due to my opengl driver being too old. Installing the latest drivers for the graphics card resolved the issue.</p>
<p>OpenGL Version String: 2.1.2</p>
<p>Vendor: NVIDIA Corporation, GLSL Version: 1.20 NVIDIA via Cg compiler, Renderer: Quadro FX 580/PCI/SSE2</p>
<p>Extracted version number: 2.1</p>
<p>Exception in ILOGLControl(): System.NotSupportedException: The OpenGL driver version available is not sufficient. Needed: 3.1. Available: 2.1</p>
<p>   at ILNumerics.Drawing.ILOGLControl..ctor()</p>
<p>OpenGL Version String: 3.1.0</p>
<p>Vendor: NVIDIA Corporation, GLSL Version: 1.40 NVIDIA via Cg compiler, Renderer: Quadro FX 580/PCI/SSE2</p>
<p>Extracted version number: 3.1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david tasker</title>
		<link>https://ilnumerics.net/blog/plotting-fun-with-ilnumerics-and-ironpython/#comment-14047</link>
		<dc:creator><![CDATA[david tasker]]></dc:creator>
		<pubDate>Mon, 02 Feb 2015 18:57:00 +0000</pubDate>
		<guid isPermaLink="false">http://ilnumerics.net/blog/?p=599#comment-14047</guid>
		<description><![CDATA[I create the project as described in your blog. I get a runtime exception as described in the image below. SystemArgument &quot;Parameter is not valid&quot; in the Application.Run(form) method.

Here is my code..

import clr

clr.AddReference(&#039;System.Drawing&#039;)

clr.AddReference(&#039;System.Windows.Forms&#039;)

clr.AddReference(&#039;ILNumerics&#039;)

from System.Drawing import *

from System.Windows.Forms import *

from ILNumerics import *

from ILNumerics.Drawing import *

from ILNumerics.Drawing.Plotting import *

class MyForm(Form):

    def __init__(self):

        # Create child controls and initialize form

        # Create child controls and initialize form

        ilpanel = ILPanel()

        ilpanel.Dock = DockStyle.Fill

        self.Controls.Add(ilpanel)

        # show some demo: first create a plotcube

        pc = ILPlotCube(&quot;pc&quot;, 0)

        # it will hold a surface with some sinc data in 3D

        # You can use ILRetArray returned from any ILNumerics Computing

        # Module as input argument here directly. Type conversions seem to happen automatically.

        sf = ILSurface(ILSpecialData.sincf(40,50))

        pc.Add(sf)

        # add the plotcube to the scene

        ilpanel.Scene.Add(pc)

        self.Text = &quot;Plotting Fun with ILNumerics in IronPython&quot;

        pass

Application.EnableVisualStyles()

Application.SetCompatibleTextRenderingDefault(False)

form = MyForm()

Application.Run(form)]]></description>
		<content:encoded><![CDATA[<p>I create the project as described in your blog. I get a runtime exception as described in the image below. SystemArgument &#8220;Parameter is not valid&#8221; in the Application.Run(form) method.</p>
<p>Here is my code..</p>
<p>import clr</p>
<p>clr.AddReference(&#8216;System.Drawing&#8217;)</p>
<p>clr.AddReference(&#8216;System.Windows.Forms&#8217;)</p>
<p>clr.AddReference(&#8216;ILNumerics&#8217;)</p>
<p>from System.Drawing import *</p>
<p>from System.Windows.Forms import *</p>
<p>from ILNumerics import *</p>
<p>from ILNumerics.Drawing import *</p>
<p>from ILNumerics.Drawing.Plotting import *</p>
<p>class MyForm(Form):</p>
<p>    def __init__(self):</p>
<p>        # Create child controls and initialize form</p>
<p>        # Create child controls and initialize form</p>
<p>        ilpanel = ILPanel()</p>
<p>        ilpanel.Dock = DockStyle.Fill</p>
<p>        self.Controls.Add(ilpanel)</p>
<p>        # show some demo: first create a plotcube</p>
<p>        pc = ILPlotCube(&#8220;pc&#8221;, 0)</p>
<p>        # it will hold a surface with some sinc data in 3D</p>
<p>        # You can use ILRetArray returned from any ILNumerics Computing</p>
<p>        # Module as input argument here directly. Type conversions seem to happen automatically.</p>
<p>        sf = ILSurface(ILSpecialData.sincf(40,50))</p>
<p>        pc.Add(sf)</p>
<p>        # add the plotcube to the scene</p>
<p>        ilpanel.Scene.Add(pc)</p>
<p>        self.Text = &#8220;Plotting Fun with ILNumerics in IronPython&#8221;</p>
<p>        pass</p>
<p>Application.EnableVisualStyles()</p>
<p>Application.SetCompatibleTextRenderingDefault(False)</p>
<p>form = MyForm()</p>
<p>Application.Run(form)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
