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

Home » Public Forums » archive » Re: Good-bye Plot, Surface, Contour, TV and all the rest!
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: Good-bye Plot, Surface, Contour, TV and all the rest! [message #73624 is a reply to message #73623] Tue, 16 November 2010 07:07 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Jeremy Bailin writes:

> One thing that might be nice to add to FSC_Plot and FSC_PlotS is the
> ability to specify an array for COLOR. I always find it a little silly
> to have to wrap them in histogram + for loops just to plot multiple
> colored points at once!

I have updated both FSC_Plot and FSC_PlotS this morning.
Both have been updated to allow a different color for
plot symbols (SYMCOLOR), and symbols can now be selected
from the 46 symbols available in SymCat. A NoData keyword
has also been added to FSC_Plot.

FSC_PlotS has been further updated to allow the COLOR,
SYMCOLOR, and SYMSIZE keywords to be vectors. This
makes it possible to easily create multicolored lines
and/or multicolored symbols. Being able to size symbols
adds yet another dimension to your data plots.

Here is an example.

data = LoadData(1)
time = Scale_Vector(Findgen(101), 0, 6)
LoadCT, 33, /Silent
FSC_Plot, time, data, /NODATA, XTITLE='Time', YTITLE='Signal'
FSC_PlotS, time, data, PSYM=-16, COLOR=BytScl(data), $
SYMCOLOR=BytScl(data), SYMSIZE=Scale_Vector(data, 1.0, 2.5)

Any other requests? :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: 8.0.1 patch question: !version.release
Next Topic: work with structures

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

Current Time: Wed Oct 08 15:28:00 PDT 2025

Total time taken to generate the page: 0.00520 seconds