Re: Creating graph with only a view data points
- To: mathgroup at smc.vnet.net
- Subject: [mg28905] Re: Creating graph with only a view data points
- From: Oliver Tonn <nospam at newsranger.com>
- Date: Fri, 18 May 2001 01:13:07 -0400 (EDT)
- References: <9dqdf2$4j7@smc.vnet.net> <9dta7t$f60@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
First of all thanks for your help. I'm sorry, but your solution don't work in my case. It could happen, that I have to go back on the x and y axis. For example: {{0,0},{1,0.5},{2,0.5},{3,0.5},{2.1,1.5},{1,5}} Mathematica isn't realy happy with that. Do you, or anybody else, have a solution for that? Greetings Oliver > >Hi, > >Needs["Graphics`Legend`"] >(* Enter the data *) >data = {{-1, 0.1}, {-0.5, 0.15}, {-0.25, 0.5}, {0, 1}, {0.25, 2}, {0.5, >4}}; >(* make a smooth function *) >ip = Interpolation[data] > >(* plot the data *) >Plot[ip[u], {u, -1, 0.5}, PlotLegend -> {{"Some Function"}}] > >Look very complicated! > >Regards > Jens > > >Oliver Tonn wrote: >> >> Hello, >> >> I'm a student at a school for technicians (electronic). I'm making my >> calculations with Mathematica. >> For a documentation I want to create a graph with the characteristic of a diode >> and a transistor. I'm looking for a software, with which I only have to enter >> some significant points of the graph, the scale, and the legend. Then the >> software should create the graph. >> Does anybody know a software which could do that, or is it possible to do this >> with Mathematica. >> >> Greetings Oliver >