Questions tagged [function-plot]

5 questions
1
vote
0 answers

Derivative function change color

I am using function-plot in JS to plot input function and also its derivative function. I wanted to change color of that derivative in plot. These are my parameters for plot. I can change color for sin(x) by adding color:"red", but if I want to…
Maestro
  • 11
  • 2
1
vote
1 answer

How to style function-plot.js

Im using function-plot.js lib to draw some functions and I want to match the theme im using. I wnat to change grid,label's color but coudnt find proper documentaion.
Ryu
  • 47
  • 5
0
votes
0 answers

JSXGraph: Is there a way to limit the plot range of a function graph?

One can define the domain over which a functiongraph is plotted. But can one also limit the plot range? Sometimes I only want a diagram to occupy a certain space on a board, and would prefer the functiongraph to not extend beyond its limits.
FlorianL
  • 267
  • 2
  • 10
0
votes
1 answer

how to plot functions containing variables in function-plot?

I have the code to generate a sine wave in the javascript library- function-plot: functionPlot({ target: '#domain', yAxis: {domain: [-1, 1]}, xAxis: {domain: [8, 24]}, data: [{ fn: 'sin(x)' }] }) But it doesn't generate a graph…
Sophile
  • 287
  • 3
  • 16
0
votes
1 answer

How to plot a function with function-plot in JavaScript?

In JavaScript I want to plot a function using function-plot. In the end I want to plot a complex function and not just a one-line function. Here is the code: var parameters = { target: '#myFunction', data: [{ fn: function(scope) { …
Alex
  • 41,580
  • 88
  • 260
  • 469