use arrows and additional xtics:
set xrange [0:200]
set yrange [0:3]
f(x)=x**0.2
x1=80
set arrow 1 from first x1, graph 0 to first x1, f(x1) nohead
set arrow 2 from graph 0, first f(x1) to first x1, f(x1) nohead
set xtics add (x1)
set ytics add (f(x1))
plot f(x)
the linestyle is terminal dependent, so use 'test' to see what your terminal
provides and choose the appropriate linetype.
Ginosal wrote:
>
> http://old.nabble.com/file/p33580327/noscritta.png
>
> Hi. I would like to get two dashed lines from a certain point on a
> function to the axes of the graph, as in the image I've posted above and
> that I've found on google images. Can anyone tell me how to get them or
> where to find informations about this question?
>
> In addition, is there a way to write the values of x and y on the point
> where these two lines touch the axes? Thank you in advance!
>
--
View this message in context: http://old.nabble.com/How-to-get-dashed-orthogonal-lines-from-points-on-a-function--tp33580327p33608335.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|