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

Home » Public Forums » archive » Trying to create a plot with strings as x-values...
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: Trying to create a plot with strings as x-values... [message #88320 is a reply to message #88316] Mon, 14 April 2014 05:33 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
doowstados@gmail.com writes:

>
> Thanks for your reply!
>
>
> Unfortunately, the strings are text.
>
> I'm looking to make a plot that loosely resembles this:
>
> 5| *
> 4| * *
> 3|* * *
> 2| * *
> 1|*
> 0_________*_________
> A B C D E
>
> But A,B,C,D,E are strings of length 3.
>
> listA contains the x values (strings) with some duplicates
> listB contains the y values (floating point values)

Maybe you are looking for some version of a dot plot:

http://www.idlcoyote.com/gallery/index.html#DOTPLOT

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Contour value in each point in XY plane
Next Topic: BarCoords- cgBarplot

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

Current Time: Fri Oct 10 00:06:42 PDT 2025

Total time taken to generate the page: 1.51994 seconds