Tobal,
You can define the tics you want to show. In your case:
set xtics (-4, -3, -2, -1, 1, 2, 3, 4, 5)
set ytics (-4, -3, -2, -1, 1, 2, 3, 4)
instead of
set xtics axis
set ytics axis
M. Galo
----- Mensagem original -----
> De: "tobal" <lop...@gm...>
> Para: gnu...@li...
> Enviadas: Quinta-feira, 30 de Maio de 2013 7:46:01
> Assunto: [Gnuplot-info] I want delete the origin labels in a plot and add only one point
>
> Hi, i'm using this code:
>
> set title 'Rectas Secantes'
> set xrange [-4:5]
> set yrange [-4:4]
> set size ratio 1.0
> set xzeroaxis lt 3 lw 2.0 lc rgb 'black'
> set yzeroaxis lt 3 lw 2.0 lc rgb 'black'
> set border 0
> set xtics axis
> set ytics axis
> set format xy '%.0f'
> set xlabel 'y' tc rgb 'blue'
> set ylabel 'x' rotate by 360 center tc rgb 'blue'
> set tics scale 0.5
> set label 1 'P(3,1)' at 2.5, 1.5 tc rgb 'black'
> plot (9-2*x)/3 title '2x + 3y = 9' lc rgb 'red', (4-3*x)/(-5) title
> '3x - 5y
> = 4' lc rgb 'blue'
> pause -1
>
> I want delete the origin label point, i.e, (0,0)
> I want add the only Point (3,1), too
>
> I adjoint an image
> <http://gnuplot.10905.n7.nabble.com/file/n17387/rectassecantes.png>
>
> Thanks for your help
>
>
>
> --
> View this message in context:
> http://gnuplot.10905.n7.nabble.com/I-want-delete-the-origin-labels-in-a-plot-and-add-only-one-point-tp17387.html
> Sent from the Gnuplot - User mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Introducing AppDynamics Lite, a free troubleshooting tool for
> Java/.NET
> Get 100% visibility into your production application - at no cost.
> Code-level diagnostics for performance bottlenecks with <2% overhead
> Download for free and get started troubleshooting in minutes.
> http://p.sf.net/sfu/appdyn_d2d_ap1
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
|