<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<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">
	<channel>
		<title>k-Wave User Forum &#187; Topic: The &#34;PlotLayout&#34; from &#34;kaspaceFirstOrder2D&#34;</title>
		<link>http://www.k-wave.org/forum/topic/the-plotlayout-from-kaspacefirstorder2d</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Tue, 12 May 2026 23:38:58 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.k-wave.org/forum/search.php</link>
		</textInput>
		<atom:link href="http://www.k-wave.org/forum/rss/topic/the-plotlayout-from-kaspacefirstorder2d" rel="self" type="application/rss+xml" />

		<item>
			<title>Bradley Treeby on "The &#34;PlotLayout&#34; from &#34;kaspaceFirstOrder2D&#34;"</title>
			<link>http://www.k-wave.org/forum/topic/the-plotlayout-from-kaspacefirstorder2d#post-8447</link>
			<pubDate>Tue, 01 Feb 2022 10:19:18 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">8447@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;The domain in this example includes the PML, while the plot doesn't. If you include the PML in the plot (set &#60;code&#62;&#38;#39;PlotPML&#38;#39;, true&#60;/code&#62;) it should give you what you expect.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>shanchengbao09@tamu.edu on "The &#34;PlotLayout&#34; from &#34;kaspaceFirstOrder2D&#34;"</title>
			<link>http://www.k-wave.org/forum/topic/the-plotlayout-from-kaspacefirstorder2d#post-8432</link>
			<pubDate>Wed, 19 Jan 2022 19:09:53 +0000</pubDate>
			<dc:creator>shanchengbao09@tamu.edu</dc:creator>
			<guid isPermaLink="false">8432@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;I am confused by the figure output on the webpage&#60;br /&#62;
&#60;a href=&#34;http://www.k-wave.org/documentation/example_ivp_heterogeneous_medium.php&#34; rel=&#34;nofollow&#34;&#62;http://www.k-wave.org/documentation/example_ivp_heterogeneous_medium.php&#60;/a&#62;&#60;br /&#62;
I don't understand why the proportion of the white bar in the forth panel (Density) of Figure 1 is not 1/4 of the whole area. &#60;/p&#62;
&#60;p&#62;If the medium.density is set using the following formulas, one fourth of the medium is 1000, and three fourths are 1200:&#60;/p&#62;
&#60;p&#62;medium.density = 1000 * ones(Nx, Ny);       % [kg/m^3]&#60;br /&#62;
medium.density(:, Ny/4:Ny) = 1200;          % [kg/m^3]&#60;/p&#62;
&#60;p&#62;In the output figure generated by:&#60;br /&#62;
sensor_data = kspaceFirstOrder2D(kgrid, medium, source, sensor, 'PlotLayout', true, 'PlotPML', false), I expect one-forth of the Density output is white, and three-fourths are dark. However, the figure on that page is not like this, it seems the white part is too narrow. I tried the code myself, and the result also indicates that the white part is too narrow.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
