V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
sadhen
V2EX  ›  程序员

一种替代 Matlab 的方式--GNU Octave Plugins for GNU TeXmacs

  •  
  •   sadhen ·
    darcy-shen · 2020-06-27 00:03:11 +08:00 · 1893 次点击
    这是一个创建于 1371 天前的主题,其中的信息可能已经有所发展或是发生改变。

    Octave plugin v2020.6 for GNU TeXmacs 发布了

    https://gitee.com/texmacs/octave/releases/v2020.6

    截图

    矩阵的渲染

    2D 图片插入

    3D 图片插入

    更新注记

    1. Octave 插件源代码重构
    2. 支持 Octave 中的 Plot 嵌入到 GNU TeXmacs 中
    3. 不再使用.octaverc,之前的 GNU TeXmacs 官方版本在 macOS 打包的时候会遗漏这个文件,导致 Octave 插件无法使用
    4. 支持 Octave 5.x,适用于 Windows/macOS/Linux
    5. 在 REPL 中查看变量,无须手动调用 tmdisp 函数,就可以自动渲染成 GNU TeXmacs 中的格式

    如何安装

    • 第一步:在此处下载源代码的 zip 包( texmacs-octave-v2020.6.zip )
    • 第二步:在本地电脑上解压该 zip 包,得到一个名为 octave 的文件夹,这个文件夹下面是四个文件夹和两个以 md 结尾的 Markdown 文件
    • 第三步:将这个文件夹移动到 TEXMACS_HOME_PATH/plugins 。对于*nix 用户来书,这个目录是$HOME/.TeXmacs/plugins,对于 Windows 用户来说,这个目录是%APPDATA%\TeXmacs\plugins

    如果您对第三个步骤有疑问,可以参考如下百度经验中的截图:

    对于了解如何使用 Git 命令的小伙伴,直接使用 Git 命令就可以搞定:

    # For GNU/Linux or macOS
    git clone --branch v2020.6 https://gitee.com/texmacs/octave.git $HOME/.TeXmacs/plugins/octave
    
    # For Windows
    git clone --branch v2020.6 https://gitee.com/texmacs/octave.git %APPDATA%\TeXmacs\plugins/octave
    

    相关链接

    1. https://www.zhihu.com/question/400551624/answer/1303753862
    2. https://zhuanlan.zhihu.com/p/150827430
    3. https://news.ycombinator.com/item?id=23652957

    点赞也是一种支持,谢谢!

    4 条回复    2021-02-17 12:14:18 +08:00
    just1
        1
    just1  
       2020-06-27 00:06:54 +08:00
    图挂了
    sadhen
        2
    sadhen  
    OP
       2020-06-27 00:11:00 +08:00
    @just1 感谢,已经换成 Github 的图源了,本来想更加本地化一些,用了 Gitee 的图源

    https://github.com/texmacs/octave/releases/tag/v2020.6

    也可以看这里
    27
        3
    27  
       2020-06-27 22:21:34 +08:00 via iPhone
    太帅了!
    sadhen
        4
    sadhen  
    OP
       2021-02-17 12:14:18 +08:00
    @27 还是有很多问题需要解决!
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   957 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 21:45 · PVG 05:45 · LAX 14:45 · JFK 17:45
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.