Code Monkey home page Code Monkey logo

obsidian-functionplot's Introduction

obsidian-functionplot

A plugin for displaying mathematical graphs in obsidian.md.

โญ Remember to star this plugin on Github if you like it!

This file only contains basic instructions to get you to using this plugin quickly. If you want a more detailed documentation, take a look at the wiki.


๐Ÿ”ฎ How to use

With Command

Since version 1.1.0 you can create plots via a handy GUI with live-preview functionality.

  1. Open the command palette and select Obsidian Functionplot: Plot a Function

  2. Adjust the plot to your liking.

    Create plot modal Create plot modal

  3. This will create a coordinate system with bounds -10 < x < 10, -10 < y < 10 and plot the functions f and g. If you havent disabled it, you can even drag and zoom the graph.

With functionplot Block

```functionplot
---
title: string
xLabel: string
yLabel: string
bounds: array[min x, max x, min y, max y]
disableZoom: boolean
grid: boolean
---
<name>(variable)=<expression>
```

Example:

```functionplot
---
title: The random graph
xLabel: Time
yLabel: Cost
bounds: [0, 10, 0, 50]
disbaleZoom: 1
grid: true
---
g(x)=x^PI
f(x)=E+log(x)*2
```

๐Ÿงฎ Supported Math

To see the complete list of supported math functions, please check the wiki.

โš™ Plugin Settings

Since version 1.2.0 there's a dedicated settings page for this plugin. Here you can adjust things like font sizes for the text elements of the plot, line widths and various colors. To access this page, head to the obsidian settings and scroll down the list to 'Community Plugins > Obsidian Functionplot'.

Settings Page

Note
For changes to be applied, Obsidian needs to "re-render" the chart. You can either restart Obsidian, or switch between view modes (eg. Reading mode > Edit mode > Reading mode).


โ“ Questions

If you have any questions about the usage of the plugin, take a look at the wiki or post a question in the discussions.

๐Ÿž Bugs and Errors

If you encounter any errors while using this plugin, please report them to us. To do so, click this link, fill out the form as best as you can and click Submit new issue. These issues are publically viewable, so please don't submit any personal information.

๐Ÿค Contributing

Contributions are always welcome! Be it submitting issues, editing the wiki or creating a pull request, contributions by people like you help keep the project evolving. Please adhere to the contributing guidelines.

ยฉ๏ธ Attribution

This plugin is based on / uses:

obsidian-functionplot's People

Contributors

leonhma avatar dependabot[bot] avatar cdricms avatar shahriarkh avatar deepsourcebot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.