<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — Aplot graphs twice??]]></title>
	<link rel="self" href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=877&amp;type=atom" />
	<updated>2023-01-27T05:42:23Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.approximatrix.com/viewtopic.php?id=877</id>
		<entry>
			<title type="html"><![CDATA[Re: Aplot graphs twice??]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=4046#p4046" />
			<content type="html"><![CDATA[<p>I see it&#039;s fixed in the latest version. Thanks, Jeff</p>]]></content>
			<author>
				<name><![CDATA[peter.kelly]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3586</uri>
			</author>
			<updated>2023-01-27T05:42:23Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=4046#p4046</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Aplot graphs twice??]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=4029#p4029" />
			<content type="html"><![CDATA[<p>I&#039;m seeing it as well.&nbsp; There were some Aplot changes in this release that must be causing it.&nbsp; I&#039;ll look into the problem.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2022-12-14T20:02:13Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=4029#p4029</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Aplot graphs twice??]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=4026#p4026" />
			<content type="html"><![CDATA[<p>Hi Jeff,<br />I am trying Aplot for the first time and it&#039;s working great, easy to use too. However.... When I call display_plot, it graphs the data, closes that window and then opens a new window and graphs the data once more.&nbsp; I am only using the basic code from the examples on-line and I am only calling this routine once. Any suggestions? I running it on Windows 11.<br />module plotter<br />&nbsp; &nbsp; implicit none<br />&nbsp; &nbsp; contains<br />subroutine meplot(p,q)<br />use aplot<br />use iso_fortran_env, only: wp=&gt;real64, SP=&gt;REAL32<br />implicit none</p><p>&nbsp; &nbsp; type(aplot_t)::plot<br />&nbsp; &nbsp; INTEGER , PARAMETER&nbsp; ::&nbsp; WSIZE = 1000&nbsp; &nbsp; <br />&nbsp; &nbsp; real(wp), dimension(wsize)::p, q<br />&nbsp; &nbsp; real(sp), dimension(wsize)::x, y<br />&nbsp; &nbsp; integer::i<br />&nbsp; &nbsp; x=p;y=q&nbsp; &nbsp; &nbsp;! copy to real values<br />&nbsp; &nbsp; plot = initialize_plot()<br />&nbsp; &nbsp; call set_yscale(plot, minval(y)-1.0, 1.0+MAXVAL(Y))<br />&nbsp; &nbsp; call set_xscale(plot, minval(x)-1.0, MAXVAL(x)+1.0)<br />&nbsp; &nbsp; call set_title(plot, &quot;Spline values&quot;)<br />&nbsp; &nbsp; call set_xlabel(plot, &quot;Round&quot;)<br />&nbsp; &nbsp; call set_ylabel(plot, &quot;Interpolated values&quot;)<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; call set_seriestype(plot, 0, APLOT_STYLE_LINE)<br />&nbsp; &nbsp; call add_dataset(plot, x,y)<br />&nbsp; &nbsp; call set_serieslabel(plot, 0, &quot;Football Scores&quot;)<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; CALL set_seriescolor (plot, 0, 0, 0, 0)!&nbsp; Set to black (item 0,r,g,b) <br />&nbsp; &nbsp; call display_plot(plot)<br />&nbsp; &nbsp; call destroy_plot(plot)<br />&nbsp; &nbsp; return<br />&nbsp; &nbsp; end subroutine meplot<br />end module plotter</p>]]></content>
			<author>
				<name><![CDATA[peter.kelly]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3586</uri>
			</author>
			<updated>2022-12-14T06:32:04Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=4026#p4026</id>
		</entry>
</feed>
