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 #88319 is a reply to message #88316] Mon, 14 April 2014 05:23 Go to previous messageGo to previous message
Matthew Argall is currently offline  Matthew Argall
Messages: 286
Registered: October 2011
Senior Member
Something like this?

time = indgen(11)
data = randomu(0, 11)
tickvalues = [0,2,4,6,8,10]
ticknames = ['A', 'B', 'C', 'D', 'E']
cgPlot, time, data, XTICKNAME=ticknames, XTICKV=tickvalues
[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: Thu Oct 09 21:55:35 PDT 2025

Total time taken to generate the page: 2.16981 seconds