SHARE
TWEET

Untitled

a guest Mar 19th, 2019 41 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. DynamicModule[{inputData = 0, dataSet = {}},
  2.  Column[{Dynamic[{dataSet}],
  3.    InputField[Dynamic[inputData]],
  4.    Button["Plot",
  5.     AppendTo[dataSet, Table[inputData + i^j, {i, 5}, {j, 2}]]],
  6.    Spacer[5],
  7.    Dynamic@ListPlot[dataSet, Joined -> True, ImageSize -> {300}]
  8.    }]]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top