Plot Vectors and Graphs

approved

by Nicole Tan YiTong

Generates graphs and vectors.

12 stars1,321 downloadsUpdated 1y agoMIT
View on GitHub

Obsidian Graph & Vector Plot Plugin

This plugin integrates FunctionPlot to use LaTeX to plot multiple graphs or vectors in Obsidian for better visualisation in Math and Physics concepts

Generating Graph

  1. Select a LaTeX equation (with or without the $ is fine)
  2. Use the command "Generate Graph" to generate the graph
  3. A new page will be opened with the function to plot, the graph, a function to calculate the value of y of the function given its x value, and colour coding of the graphs
  • Demo: Demo of graphs

Drawing Vectors

  1. Select a LaTeX equation of a vector (with or without the $ is fine)
    • If you are unsure on how to write vectors in LaTeX, this link may be helpful
    • E.g. \vec{AB} = \begin{pmatrix} 1 \ 2 \end{pmatrix}
    • Note: There has to be a \vec, \overrightarrow would not work here
  2. Use the command "Draw Vector" to generate the vector graph
  3. A new page will be opened with the equation, the graph, a function to add two vectors and generate the resultant vector, and colour coding of the vectors
  • Demo: Demo of vectors

  • Demo of addition vector: Demo of addition vectors

Multiple Graphs/Vectors

  • To generate multiple graphs or vectors, add "\newline" in between the functions in the LaTeX equation.

Options

In the settings, you may change the

  • x & y axis labels
  • title
  • width & height
  • grid visibility
  • ability to zoom

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.