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

Home » Public Forums » archive » TV type routine that can use irregular x and y coordinates?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
TV type routine that can use irregular x and y coordinates? [message #94163] Thu, 09 February 2017 13:34 Go to next message
astroboy.20000 is currently offline  astroboy.20000
Messages: 39
Registered: August 2012
Member
Hello,

I currently have a plot routine that plots up f,x,y data (f at least is a 2D array, x and y can be 1 or 2D) as an image using iterations of polyfill. x and y don't have to be regularly spaced of course, they can be log-based coordinates.

However, this process takes some time with million point datasets, even plotting to a pixmap and then copying to an actual visible window using device.

Is there something like TV or TV image that would handle x and y coordinates?

I've spent some time on this without coming up with anything that works well and I suspect I'm trying to re-invent the wheel here...

Thanks,

Mark
Re: TV type routine that can use irregular x and y coordinates? [message #94166 is a reply to message #94163] Fri, 10 February 2017 11:42 Go to previous message
Matthew Argall is currently offline  Matthew Argall
Messages: 286
Registered: October 2011
Senior Member
I do not know of a substitute for polyfill. However, you can calculate the size of each image pixel and compare it to the size of a pixel on you monitor. If an image pixel is smaller than a monitor pixel, then you can average several points and reduce the size of your image.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Create an array for data opend and read from text file
Next Topic: cgPS_Open crash

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

Current Time: Wed Oct 08 09:14:31 PDT 2025

Total time taken to generate the page: 0.00490 seconds