2018-12-18 22:56:58 +00:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<head><meta name="generator" content="Hexo 3.8.0">
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
|
<meta name="google-site-verification" content="xBT4GhYoi5qRD5tr338pgPM5OWHHIDR6mNg1a3euekI">
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
|
<meta name="description" content="">
|
|
|
|
|
<meta name="keyword" content="">
|
|
|
|
|
<link rel="shortcut icon" href="/uWeb/img/favicon.ico">
|
|
|
|
|
|
|
|
|
|
<title>
|
|
|
|
|
|
2018-12-18 23:31:42 +00:00
|
|
|
|
利用浏览器地址栏对函数作图
|
2018-12-18 22:56:58 +00:00
|
|
|
|
|
|
|
|
|
</title>
|
|
|
|
|
|
|
|
|
|
<!-- Custom CSS -->
|
|
|
|
|
<link rel="stylesheet" href="/uWeb/css/aircloud.css">
|
|
|
|
|
<link rel="stylesheet" href="/uWeb/css/gitment.css">
|
|
|
|
|
<!--<link rel="stylesheet" href="https://imsun.github.io/gitment/style/default.css">-->
|
|
|
|
|
<link href="//at.alicdn.com/t/font_620856_pl6z7sid89qkt9.css" rel="stylesheet" type="text/css">
|
|
|
|
|
<!-- ga & ba script hoook -->
|
|
|
|
|
<script></script>
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
<div class="site-nav-toggle" id="site-nav-toggle">
|
|
|
|
|
<button>
|
|
|
|
|
<span class="btn-bar"></span>
|
|
|
|
|
<span class="btn-bar"></span>
|
|
|
|
|
<span class="btn-bar"></span>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="index-about">
|
|
|
|
|
<i> </i>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="index-container">
|
|
|
|
|
|
|
|
|
|
<div class="index-left">
|
|
|
|
|
|
|
|
|
|
<div class="nav" id="nav">
|
2019-01-24 09:50:57 +00:00
|
|
|
|
<div class="avatar-name">
|
|
|
|
|
<div class="avatar">
|
|
|
|
|
<img src="<%= config['root'] %><%= config['sidebar-avatar'] %>" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="name">
|
|
|
|
|
<i><%= config.author %></i>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2018-12-18 22:56:58 +00:00
|
|
|
|
<div class="contents" id="nav-content">
|
|
|
|
|
<ul>
|
2019-01-24 09:50:57 +00:00
|
|
|
|
<li <% if(is_home()){ %> <%- "class=active" %> <% } %>>
|
|
|
|
|
<a href="<%= url_for(config.home_dir || '/') %>">
|
2018-12-18 22:56:58 +00:00
|
|
|
|
<i class="iconfont icon-shouye1"></i>
|
2019-01-24 09:50:57 +00:00
|
|
|
|
<span><%= __('nav.home') %></span>
|
2018-12-18 22:56:58 +00:00
|
|
|
|
</a>
|
|
|
|
|
</li>
|
2019-01-24 09:50:57 +00:00
|
|
|
|
<li <% if(is_current('tags')){ %> <%- "class=active" %> <% } %>>
|
|
|
|
|
<a href="<%= url_for(config.tag_dir) %>">
|
2018-12-18 22:56:58 +00:00
|
|
|
|
<i class="iconfont icon-biaoqian1"></i>
|
2019-01-24 09:50:57 +00:00
|
|
|
|
<span><%= __('nav.tags') %></span>
|
2019-01-10 03:18:57 +00:00
|
|
|
|
</a>
|
|
|
|
|
</li>
|
2019-01-24 09:50:57 +00:00
|
|
|
|
<li <% if(is_current('archive')){ %> <%- "class=active" %> <% } %>>
|
|
|
|
|
<a href="<%= url_for(config.archive_dir) %>">
|
2019-01-10 03:20:34 +00:00
|
|
|
|
<i class="iconfont icon-guidang2"></i>
|
2019-01-24 09:50:57 +00:00
|
|
|
|
<span><%= __('nav.archives') %></span>
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li <% if(is_current('about')){ %> <%- "class=active" %> <% } %>>
|
|
|
|
|
<a href="<%= config.root %><%- 'about/' %>">
|
|
|
|
|
<i class="iconfont icon-guanyu2"></i>
|
|
|
|
|
<span><%= __('nav.about') %></span>
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<%if(config.search && config.search.path){%>
|
|
|
|
|
<li>
|
|
|
|
|
<a id="search">
|
|
|
|
|
<i class="iconfont icon-sousuo1"></i>
|
|
|
|
|
<span><%= __('nav.search') %></span>
|
2018-12-18 22:56:58 +00:00
|
|
|
|
</a>
|
|
|
|
|
</li>
|
2019-01-24 09:50:57 +00:00
|
|
|
|
<% } %>
|
2018-12-18 22:56:58 +00:00
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
2019-01-24 09:50:57 +00:00
|
|
|
|
<%
|
|
|
|
|
if(is_post()){
|
|
|
|
|
// if(/[0-9]*\/[0-9]*\/[0-9]*\//.test(path)){
|
|
|
|
|
%>
|
|
|
|
|
<%- partial('./toc', {item: page, index: false}) %>
|
|
|
|
|
<% } %>
|
2018-12-18 22:56:58 +00:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="search-field" id="search-field">
|
|
|
|
|
<div class="search-container">
|
|
|
|
|
<div class="search-input">
|
|
|
|
|
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
2019-01-24 09:50:57 +00:00
|
|
|
|
<input id="search-input"/>
|
|
|
|
|
<span id="begin-search"><%= __('search.search') %></span>
|
2018-12-18 22:56:58 +00:00
|
|
|
|
</div>
|
|
|
|
|
<div class="search-result-container" id="search-result-container">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="index-about-mobile">
|
|
|
|
|
<i> </i>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="index-middle">
|
|
|
|
|
<!-- Main Content -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="post-container">
|
|
|
|
|
<div class="post-title">
|
|
|
|
|
利用浏览器地址栏对函数作图
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="post-meta">
|
2019-01-10 03:20:34 +00:00
|
|
|
|
<span class="attr">Post:<span>2018-12-11 07:04:19</span></span>
|
2018-12-18 22:56:58 +00:00
|
|
|
|
|
|
|
|
|
|
2019-01-10 03:20:34 +00:00
|
|
|
|
<span class="attr">Visit:<span id="busuanzi_value_page_pv"></span>
|
2018-12-18 22:56:58 +00:00
|
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="post-content ">
|
|
|
|
|
<p>使用Android端<a href="https://www.coolapk.com/apk/info.torapp.uweb" target="_blank" rel="noopener">uweb浏览器</a>。<br>Termux提供了方便的软件包管理系统,缺省的uWeb地址栏功能配置需用到作图软件gnuplot。</p>
|
|
|
|
|
<h4 id="安装gnuplot"><a href="#安装gnuplot" class="headerlink" title="安装gnuplot"></a>安装gnuplot</h4><ul><br><li>安装uweb定制Termux应用(长按[PC]选择”Symbian”再刷新网页可直接下载)<br><a href="https://pan.baidu.com/s/1WwQ9yhPlu95sFtttlzDXFA" target="_blank" rel="noopener">https://pan.baidu.com/s/1WwQ9yhPlu95sFtttlzDXFA</a></li><br><li>Termux下运行以下命令:<br>apt update<br>apt upgrade<br>apt install gnuplot</li><br></ul>
|
|
|
|
|
|
|
|
|
|
<h4 id="配置文件-sdcard-uweb-cmds-txt如下:"><a href="#配置文件-sdcard-uweb-cmds-txt如下:" class="headerlink" title="配置文件/sdcard/uweb/cmds.txt如下:"></a>配置文件/sdcard/uweb/cmds.txt如下:</h4><p>命令:text/plain:%s<br>函数作图:image/svg+xml:gnuplot -e ‘set term svg;set output; plot %s’<br>函数作图(3d):image/svg+xml:gnuplot -e ‘set term svg;set output; splot %s’<br>超级计算器:text/html:echo “%s”|bc -l -q</p>
|
|
|
|
|
<p>长按uweb浏览器底部工具条刷新按钮弹出地址栏功能选择,选择“函数作图”,地址栏内输入函数如sin(x)**5就可显示函数图案。</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
<div id="comment-container">
|
|
|
|
|
</div>
|
|
|
|
|
<div id="disqus_thread"></div>
|
|
|
|
|
|
|
|
|
|
<div id="lv-container">
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<footer class="footer">
|
|
|
|
|
<ul class="list-inline text-center">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</footer>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
// We expose some of the variables needed by the front end
|
|
|
|
|
window.hexo_search_path = ""
|
|
|
|
|
window.hexo_root = "/uWeb/"
|
|
|
|
|
window.isPost = true
|
|
|
|
|
</script>
|
|
|
|
|
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
|
|
|
|
|
<script src="/uWeb/js/index.js"></script>
|
|
|
|
|
<script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</html>
|