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
Trying to create a plot with strings as x-values... [message #88314] Sun, 13 April 2014 19:32 Go to previous message
doowstados is currently offline  doowstados
Messages: 3
Registered: April 2014
Junior Member
Please forgive my poor IDL background. Hopefully you IDL experts can help me out.

I'm attempting to create a plot with strings as x values.

I have two lists being loaded from text files in this format:

xlist = list(value1, value1, value1, value2, value2, value3, ..., valueN)

ylist = list(12, 17, 15, 13, 11.4, 19, 17, ..., numN)

These lists are fairly short, maybe 150-200 coordinate pairs total, but only around 50 unique strings in the xlist, so the program doesn't need to be particularly resource efficient.


IDL's plot function and cgPlot don't seem to get along well with strings.

Does anyone know a way around this? Thanks in advance!
[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: Wed Oct 08 11:33:00 PDT 2025

Total time taken to generate the page: 0.00464 seconds