Code Monkey home page Code Monkey logo

fooplot's Introduction

fooplot

Online Javascript-based graphing calculator with scrolling and other features, used on http://fooplot.com/

Documentation has not been done yet but feel free to poke at the source.

fooplot's People

Contributors

dheera avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fooplot's Issues

How to use fooplot as parser?

I am astonished that fooplot can "understand" so many formulas, such as sin() etc.

How would I go and use this parsing capability in my own project? What functions do I have to use?

Goal: I have an input field, that holds for example 2*sin(3*x) and I want to throw in my own x values to get the corresponding y values.

For now I am using mathjs.org but I run into some problems, also the math.min.js is 210 KB...

a question about example

is:issue is:open How do I plot a vertical line such as x=2? You can currently do this by creating a Parametric equation with x=2 and y=s, and setting s to an interval that covers your viewing window. See this for an example. the link 'See this for an example' is 失效了

How to draw a function with x>0 (piecewise function)?

I would like to draw a graph beginning from x=0 and then into the positive: http://fooplot.com/plot/bqb5rfvg9n

Function's equation is: ((21/20*x+1)^(1/2))*(x>0)

Problem is, even though I define (x>0) the drawing can be seen for negative x, starting by x = -1:

save

How comes?


Drawing f(x)=x with the limit to x>0 draws a red line onto the x-axis for negative x: http://fooplot.com/plot/s0x03w0mn9

In the FAQ I found:

How do I draw a piecewise function?
You can enter a piecewise function using the comparison operators <, >, <=, >=, and == which return 1 if the comparison is true and 0 if the comparison is false. For example, (x<0) returns 1 if the statement (x<0) is true and 0 otherwise. To plot the piecewise function y={x, x<0; x^2, x>0} you could enter (x<0)*x+(x>0)*x^2.

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.