Mathematica:how to plot a maximum point in a graphby shafieza_garl Tags: graph, mathematicahow, maximum, plot, point 

#1
Mar2912, 01:15 AM

P: 20

anyone can help me to plot a point.
thanks 



#2
Mar2912, 01:52 AM

P: 4,570

If you need the point at its original position then just add the x coordinate to every x point in the dataset. 



#3
Mar2912, 12:26 PM

P: 972

r = Plot[Sin[j], {j, 0, Pi}];
onedot = ListPlot[{j, 1} /. Rest[FindMaximum[Sin[j], {j, Pi}]], PlotStyle > {Hue[0.67], AbsolutePointSize[7]}]; Show[r, onedot] 



#4
Mar3012, 12:34 AM

P: 20

Mathematica:how to plot a maximum point in a graph
thanks again. 



#5
Mar3012, 01:34 AM

P: 972

r = Plot[Sin[j], {j, 0, Pi}];
onedot = ListPlot[{j, Sin[j]} /. Rest[FindMaximum[Sin[j], {j, Pi}]], \ PlotStyle > {Hue[0.67], AbsolutePointSize[7]}]; Show[r, onedot] 


Register to reply 
Related Discussions  
Plot 3D matrix as 2D plot and 3rd dimension as color in Mathematica  Math & Science Software  8  
How to plot it graph in Mathematica  General Physics  4  
Creating equation out of 5 point or more from graph plot.  Calculus  5  
Rasterized density plot + countour plot in Mathematica (to solve EPS issues)  Math & Science Software  0  
Tracing a point on a graph and displaying the y value  Mathematica  Math & Science Software  0 