marcosnicolau / obsidian-mathematica-plot Goto Github PK
View Code? Open in Web Editor NEWInsert functions on Obsidian using Wolfram Mathematica!
License: MIT License
Insert functions on Obsidian using Wolfram Mathematica!
License: MIT License
When drawing functions with different domains, the plot does not automatically adjust its view to contain them.
The current workaround until the fix is to add: others: PlotRange -> Automatic
under the general
directive in the generated yml (can't add this from the command modal).
The yml should look like:
raster:
general:
...
others: PlotRange -> Automatic
graphs:
My local wolframscript is not found, however works in the terminal.
The installation went without a problem, but plots produce this type of error:
Error: Command failed: wolframscript --code "ExportString[Rasterize[Show[Plot[x,{x,0,10}],Axes->True,AxesLabel->{x,y},Frame->False,Boxed->True],ImageSize->{250,Automatic},Background->None,AspectRatio->Automatic], {\"Base64\", \"PNG\"}]" /bin/sh: line 1: wolframscript: command not found
which wolframscript
returns /usr/bin/wolframscript
. However, entering this path in the settings also does not work:
Error: Command failed: "/usr/bin/wolframscript" --code "ExportString[Rasterize[Show[Plot[x,{x,0,10}],Axes->True,AxesLabel->{x,y},Frame->False,Boxed->True],ImageSize->{250,Automatic},Background->None,AspectRatio->Automatic], {\"Base64\", \"PNG\"}]" /bin/sh: line 1: /usr/bin/wolframscript: No such file or directory
OS: Linux Mint 21.2
Obsidian: v1.5.8
Other things i tested:
I tried to have a look at it myself but i have no experience with javascript and did not get very far :)
If Obsidian is installed via flatpak, it won't load the PATH
variable, so the command won't be found.
The current solution now is to install the .deb version.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.