<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>鬼の领地 &#187; Mathematica</title>
	<atom:link href="http://blog.upsuper.org/tag/mathematica/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.upsuper.org</link>
	<description>the place where there are some ghost appearing...</description>
	<lastBuildDate>Wed, 19 Oct 2011 13:21:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>小赞 Mathematica 7.0</title>
		<link>http://blog.upsuper.org/mathematica-70/</link>
		<comments>http://blog.upsuper.org/mathematica-70/#comments</comments>
		<pubDate>Sun, 21 Dec 2008 06:32:11 +0000</pubDate>
		<dc:creator>upsuper</dc:creator>
				<category><![CDATA[琐事杂谈]]></category>
		<category><![CDATA[Mathematica]]></category>

		<guid isPermaLink="false">http://blog.upsuper.org/?p=628</guid>
		<description><![CDATA[前两周就把 Mathematica 6.0 卸了（确切的说，是直接删了……），本想马上把 Mathematica 7.0 下好安好的，结果没想到下了这么久…… 不过下完还是很高兴的，驴子又换了个版本，Xtreme Mod SSE2 Optimized，我惊叹于 Wine 可以跑起需要 SSE2 的 Windows 程序（建立在我的 PD 支持 SSE2 的基础上……）。回归正题 Mathematica 7.0 的安装和 6.0 大同小异，详见又见Mathematica，不过安装好不像 6.0 那样需要再做其他的处理，马上就可以用了，这很好。惟一的缺憾就是那安装的进度条……前半段是不会显示的……然后突然跳到一半……对安装速度的不满其实主要源于看不到进度和他在干什么……有时就卡那里，也不知道是死了还是怎么的。 安装好以后，试一下，所有东西都没问题了。6.0 中 Play 函数在 Linux 下根本播不出声音，这在 7.0 中也解决了。 那天填高考报名信息的时候就在那里看 Mathematica 7.0 的新功能，觉得 Mathematica 7.0 越来越不专一了，多了许多奇异的功能，和名字不符哦…… 说起 7.0 的新功能，我最喜欢的要数 Manipulate 函数，效果如图： 注意其中的条子，是可以拉动的，拉动可以调节周期！ 其实这个功能 Microsoft Math 很早就实现了，虽然 Mathematica 现在才实现这个功能，不过还是要赞的~ [...]]]></description>
			<content:encoded><![CDATA[<p>前两周就把 Mathematica 6.0 卸了（确切的说，是直接删了……），本想马上把 Mathematica 7.0 下好安好的，结果没想到下了这么久……</p>
<p>不过下完还是很高兴的，驴子又换了个版本，Xtreme Mod SSE2 Optimized，我惊叹于 Wine 可以跑起需要 SSE2 的 Windows 程序（建立在我的 PD 支持 SSE2 的基础上……）。回归正题</p>
<p>Mathematica 7.0 的安装和 6.0 大同小异，详见<a href="http://blog.upsuper.org/ubuntu-trip-5-meet-mathematica-again/">又见Mathematica</a>，不过安装好不像 6.0 那样需要再做其他的处理，马上就可以用了，这很好。惟一的缺憾就是那安装的进度条……前半段是不会显示的……然后突然跳到一半……对安装速度的不满其实主要源于看不到进度和他在干什么……有时就卡那里，也不知道是死了还是怎么的。</p>
<p>安装好以后，试一下，所有东西都没问题了。6.0 中 Play 函数在 Linux 下根本播不出声音，这在 7.0 中也解决了。</p>
<p>那天填高考报名信息的时候就在那里看 Mathematica 7.0 的新功能，觉得 Mathematica 7.0 越来越不专一了，多了许多奇异的功能，和名字不符哦……<br />
<span id="more-628"></span><br />
说起 7.0 的新功能，我最喜欢的要数 Manipulate 函数，效果如图：<br />
<img src="http://blog.upsuper.org/wp-content/uploads/2008/12/screenshot-mathematica-manipulate.png" alt="screenshot-mathematica-manipulate" title="screenshot-mathematica-manipulate" width="640" height="560" class="alignnone size-full wp-image-629" /><br />
注意其中的条子，是可以拉动的，拉动可以调节周期！</p>
<p>其实这个功能 Microsoft Math 很早就实现了，虽然 Mathematica 现在才实现这个功能，不过还是要赞的~</p>
<p>除此之外我最喜欢的就是那个化学数据库了，不过好象要在线下载数据的样子……</p>
<p>Mathematica 7.0 的新功能不胜枚举啊……<a href="http://www.wolfram.com/products/mathematica/newin7/" target="_blank">What&#8217;s New in 7</a> 里面满满一页的内容，看过去每一个都如此诱人……</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.upsuper.org/mathematica-70/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>解决 Mathematica 与 Composite 并存的问题</title>
		<link>http://blog.upsuper.org/solution-of-running-mathematica-with-composite/</link>
		<comments>http://blog.upsuper.org/solution-of-running-mathematica-with-composite/#comments</comments>
		<pubDate>Sun, 03 Aug 2008 06:12:02 +0000</pubDate>
		<dc:creator>upsuper</dc:creator>
				<category><![CDATA[雕虫小技]]></category>
		<category><![CDATA[Mathematica]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.upsuper.org/?p=574</guid>
		<description><![CDATA[为了运行 Mathematica，我在原来的一篇日志介绍过，要通过编辑 /etc/X11/xorg.conf 禁用 Composite。但是这样就没有任何效果了，Ubuntu 最华美的东西不能体现出来，有些可惜~但如果不禁用掉，Mathematica 开起来打任何字进去看起来都是一片空白……看着其他人的 Ubuntu 那么漂亮……我想，先恢复 Composite 试试？说不定可以了。 恢复后，打开 Mathematica，输入几个字符，没东西显示……还是那样…… 不甘心……又经过在英文网站的查找，发现了这样一篇帖子（Ubuntu 论坛果然是个好地方）。里面介绍的方法是在运行 Mathematica 的时候在后面加上 -defaultvisual 参数。把 Composite 解禁后，我试了这个参数，果然 Mathematica 可以用了。可是新的问题又出现了，一下出来好几个没用的空白窗口。再看下面的回复，发现还要再调一个配置：进入 Mathematica，点击 Format 菜单里的 Options Inspector，在打开窗口最上面的下拉列表中选择 Global Preferences，在左边的列表中选择 Notebook Options 下的 Window Preferences，再在右边的框中找到 WindowFrame，把它设置为 Generic。这时，Mathematica 闪了一下，没用的窗口全部消失！ 把 -defaultvisual 加入到我放在面板上的启动器中，再运行，除了启动的时候会闪过几个窗口，完全没有问题了！至此，我的 Mathematica 的问题完美解决了！Ubuntu 的华美效果也可以回来了~ 体验了一下 3D 桌面~哈哈~]]></description>
			<content:encoded><![CDATA[<p>为了运行 Mathematica，我在原来的<a href="http://blog.upsuper.org/ubuntu-trip-5-meet-mathematica-again/">一篇日志</a>介绍过，要通过编辑 /etc/X11/xorg.conf 禁用 Composite。但是这样就没有任何效果了，Ubuntu 最华美的东西不能体现出来，有些可惜~但如果不禁用掉，Mathematica 开起来打任何字进去看起来都是一片空白……看着其他人的 Ubuntu 那么漂亮……我想，先恢复 Composite 试试？说不定可以了。</p>
<p>恢复后，打开 Mathematica，输入几个字符，没东西显示……还是那样……</p>
<p>不甘心……又经过在英文网站的查找，发现了<a href="http://ph.ubuntuforums.com/showthread.php?p=4505437" target="_blank">这样一篇帖子</a>（Ubuntu 论坛果然是个好地方）。里面介绍的方法是在运行 Mathematica 的时候在后面加上 -defaultvisual 参数。把 Composite 解禁后，我试了这个参数，果然 Mathematica 可以用了。可是新的问题又出现了，一下出来好几个没用的空白窗口。再看下面的回复，发现还要再调一个配置：进入 Mathematica，点击 Format 菜单里的 Options Inspector，在打开窗口最上面的下拉列表中选择 Global Preferences，在左边的列表中选择 Notebook Options 下的 Window Preferences，再在右边的框中找到 WindowFrame，把它设置为 Generic。这时，Mathematica 闪了一下，没用的窗口全部消失！</p>
<p>把 -defaultvisual 加入到我放在面板上的启动器中，再运行，除了启动的时候会闪过几个窗口，完全没有问题了！至此，我的 Mathematica 的问题完美解决了！Ubuntu 的华美效果也可以回来了~</p>
<p>体验了一下 3D 桌面~哈哈~</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.upsuper.org/solution-of-running-mathematica-with-composite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu之旅（五）——又见Mathematica</title>
		<link>http://blog.upsuper.org/ubuntu-trip-5-meet-mathematica-again/</link>
		<comments>http://blog.upsuper.org/ubuntu-trip-5-meet-mathematica-again/#comments</comments>
		<pubDate>Sat, 07 Jun 2008 05:57:22 +0000</pubDate>
		<dc:creator>upsuper</dc:creator>
				<category><![CDATA[探究学习]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mathematica]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.upsuper.org/?p=114</guid>
		<description><![CDATA[今天参考了多方资料，总算是把Ubuntu下的Mathematica弄好了！ 首先是安装。我是从 VeryCD 上下载到的安装文件，是一个cue和一个bin。我知道Ubuntu可以直接挂在iso，但不知道cue怎么处理。参考了这篇文章，这里也写一下：首先要安装一个叫“bchunk”的软件，可以直接用apt-get安装，然后进入下载到的目录，转换文件： 1 bchunk MATHEMATICA.V6.0.2.bin MATHEMATICA.V6.0.2.cue MATHEMATICA.V6.0.2.iso 稍等一会儿，就转换完成了，不过转换得到的文件是“MATHEMATICA.V6.0.2.iso01.iso”。最后将这个文件挂载： 1 2 sudo mkdir /media/mathematica sudo mount MATHEMATICA.V6.0.2.iso01.iso /media/mathematica/ -t iso9660 -o loop 接下来只要找到Unix/Installer/MathInstaller文件，用root运行之即可。 但完成以后运行，发现一些奇怪的问题。 用终端运行时会出现一大串的提示，然后弹出错误提示：“Unable to find font &#8230;.”。参考了在Debian下的配置后，我找到了/usr/local/mathematica，并且在其中加入了 8 9 LC_ALL=&#34;C&#34; LANG=&#34;C&#34; 并在/usr/X11R6/lib/建立了/usr/share/X11/的链接，并在/usr/share/X11/建立了一个到/usr/share/fonts/X11/的链接： 1 2 sudo ln -s /usr/share/X11/ /usr/X11R6/lib/X11/ sudo ln -s /usr/share/fonts/X11/ /usr/share/X11/fonts/ 随后那个框消失了，但问题并没有解决——文字仍然显示不出来，而且启动时的一大串错误还在。于是又参考了Mathematica官方网站上的一份资料，在/etc/X11/xorg.conf文件后加了一个段落（注意先备份，修改需要root权限）： 56 57 58 Section &#34;Extensions&#34; Option &#34;Composite&#34; [...]]]></description>
			<content:encoded><![CDATA[<p>今天参考了多方资料，总算是把Ubuntu下的Mathematica弄好了！</p>
<p>首先是安装。我是从 VeryCD 上下载到的安装文件，是一个cue和一个bin。我知道Ubuntu可以直接挂在iso，但不知道cue怎么处理。参考了<a href="http://my.donews.com/weasky/2006/10/03/pboljnqjtomqjdqtzighahoqxxsyqkwdzian/" target="_blank">这篇文章</a>，这里也写一下：首先要安装一个叫“bchunk”的软件，可以直接用apt-get安装，然后进入下载到的目录，转换文件：</p>

<div class="wp_codebox"><table><tr id="p1146"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p114code6"><pre class="bash" style="font-family:monospace;">bchunk MATHEMATICA.V6.0.2.bin MATHEMATICA.V6.0.2.cue MATHEMATICA.V6.0.2.iso</pre></td></tr></table></div>

<p>稍等一会儿，就转换完成了，不过转换得到的文件是“MATHEMATICA.V6.0.2.iso01.iso”。最后将这个文件挂载：</p>

<div class="wp_codebox"><table><tr id="p1147"><td class="line_numbers"><pre>1
2
</pre></td><td class="code" id="p114code7"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>media<span style="color: #000000; font-weight: bold;">/</span>mathematica
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">mount</span> MATHEMATICA.V6.0.2.iso01.iso <span style="color: #000000; font-weight: bold;">/</span>media<span style="color: #000000; font-weight: bold;">/</span>mathematica<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #660033;">-t</span> iso9660 <span style="color: #660033;">-o</span> loop</pre></td></tr></table></div>

<p>接下来只要找到Unix/Installer/MathInstaller文件，用root运行之即可。</p>
<p>但完成以后运行，发现一些奇怪的问题。</p>
<p><span id="more-114"></span></p>
<p>用终端运行时会出现一大串的提示，然后弹出错误提示：“Unable to find font &#8230;.”。参考了<a href="http://hi.baidu.com/beanya/blog/item/206f283046218f98a9018e3a.html" target="_blank">在Debian下的配置</a>后，我找到了/usr/local/mathematica，并且在其中加入了</p>

<div class="wp_codebox"><table><tr id="p1148"><td class="line_numbers"><pre>8
9
</pre></td><td class="code" id="p114code8"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">LC_ALL</span>=<span style="color: #ff0000;">&quot;C&quot;</span>
<span style="color: #007800;">LANG</span>=<span style="color: #ff0000;">&quot;C&quot;</span></pre></td></tr></table></div>

<p>并在/usr/X11R6/lib/建立了/usr/share/X11/的链接，并在/usr/share/X11/建立了一个到/usr/share/fonts/X11/的链接：</p>

<div class="wp_codebox"><table><tr id="p1149"><td class="line_numbers"><pre>1
2
</pre></td><td class="code" id="p114code9"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>X11<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>X11R6<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>X11<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>fonts<span style="color: #000000; font-weight: bold;">/</span>X11<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>X11<span style="color: #000000; font-weight: bold;">/</span>fonts<span style="color: #000000; font-weight: bold;">/</span></pre></td></tr></table></div>

<p><del datetime="2008-08-03T00:25:44+00:00">随后那个框消失了，但问题并没有解决——文字仍然显示不出来，而且启动时的一大串错误还在。于是又参考了<a href="http://support.wolfram.com/mathematica/systems/linux/general/ubuntumathematicacompatibility.en.html" target="_blank">Mathematica官方网站上的一份资料</a>，在/etc/X11/xorg.conf文件后加了一个段落（注意先备份，修改需要root权限）：</p>

<div class="wp_codebox"><table><tr id="p11410"><td class="line_numbers"><pre>56
57
58
</pre></td><td class="code" id="p114code10"><pre class="text" style="font-family:monospace;">Section &quot;Extensions&quot;
	Option &quot;Composite&quot; &quot;disable&quot;
EndSection</pre></td></tr></table></div>

<p></del></p>
<p>找到了更完美的解决方案，见我<a href="http://blog.upsuper.org/solution-of-running-mathematica-with-composite/">最近的那篇日志</a>。</p>
<p>保存后重新起动。再次开启Mathematica，完全没有问题了！</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.upsuper.org/ubuntu-trip-5-meet-mathematica-again/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

