comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Plot points!
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Plot points! [message #78785 is a reply to message #78784] Tue, 20 December 2011 09:09 Go to previous messageGo to previous message
lecacheux.alain is currently offline  lecacheux.alain
Messages: 325
Registered: January 2008
Senior Member
On 20 déc, 17:35, DavePoreh <d.po...@gmail.com> wrote:
> On Dec 20, 8:12 am, alx <lecacheux.al...@wanadoo.fr> wrote:
>
>
>
>
>
>> On 20 déc, 15:24, DavePoreh <d.po...@gmail.com> wrote:
>
>>> Guys
>>> hi,
>>> Back to my previous message, i would like to plot just points not
>>> lines in the following code from Mark.
>
>>> x = [0, 35, 70, 140]
>>> y = [0, 196.7, 779.8, 37]
>>> s = string([12006, 12507, 13008, 14010])
>>> ; NG (IDL 8.1)
>>> p = plot(x, y)
>>> t = text(x, y, s, alignment='center', /data)
>
>>> Cheers,
>>> Dave
>
>> p = plot(x, y, LINESTYLE=6)
>> t = text(x, y, s, alignment='center', /data)
>
>> alx.
>
> Thanks
> But i can not see any points.
> Dave,- Masquer le texte des messages précédents -
>
> - Afficher le texte des messages précédents -

ok.
p = plot(x, y, LINESTYLE=6, SYMBOL='+') is equivalent to the old
style: plot, x, y, PSYM=1
t = text(x, y, s, alignment='center', /data) is equivalent to the old
style: xyouts, x, y, s, ALIGN=0.5
then you have to play with the postion of the text annotation or to
suppress it, according to what you actually want to display.

alx.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Mac Market Share in Science
Next Topic: Re: Mac Market Share in Science

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:20:34 PDT 2025

Total time taken to generate the page: 0.00465 seconds