Send xy plot by email
-
I have a program that sends an email if a certain alarm condition arises. Currently, the email only contains a text message, but I'd like it also to include an xy plot of about 400 points. Trouble is, I don't know how to put that plot into an email. I know I could create an image in a file and attach that to the email, but I prefer not to do that. Is there some kind of html or something else that can go in an email that will display a plot given the set of xy points? I know that java classes on a web page can plot given the points, but can email clients like Outlook and Outlook Express run java applets? Any other thoughts? One thing someone suggested to me was to make a plot using ASCII codes. But my plot needs to be very precise for the points given, not some rough approximation, so I don't think that would work.
-
I have a program that sends an email if a certain alarm condition arises. Currently, the email only contains a text message, but I'd like it also to include an xy plot of about 400 points. Trouble is, I don't know how to put that plot into an email. I know I could create an image in a file and attach that to the email, but I prefer not to do that. Is there some kind of html or something else that can go in an email that will display a plot given the set of xy points? I know that java classes on a web page can plot given the points, but can email clients like Outlook and Outlook Express run java applets? Any other thoughts? One thing someone suggested to me was to make a plot using ASCII codes. But my plot needs to be very precise for the points given, not some rough approximation, so I don't think that would work.
there's a client-side graphics package called SVG[^], but i'm not sure if email clients will like it, plus it requires a client-side install (the same way you need a PDF-reader to read PDF) Cleek | Image Toolkits | Thumbnail maker
-
I have a program that sends an email if a certain alarm condition arises. Currently, the email only contains a text message, but I'd like it also to include an xy plot of about 400 points. Trouble is, I don't know how to put that plot into an email. I know I could create an image in a file and attach that to the email, but I prefer not to do that. Is there some kind of html or something else that can go in an email that will display a plot given the set of xy points? I know that java classes on a web page can plot given the points, but can email clients like Outlook and Outlook Express run java applets? Any other thoughts? One thing someone suggested to me was to make a plot using ASCII codes. But my plot needs to be very precise for the points given, not some rough approximation, so I don't think that would work.
If you do not want to attach, and I would worry security-wise about readers that will just go an automatically execute script and/or applets, I would suggest one of two things: 1: Use some fancy (D)HTML to draw your graph. It might be as simple as a table containing non-whitespace characters with a specific background/fill color. 2: Go old-school and create an ASCII Art drawing. (Anyone remember "The Draw"?) :) Peace! -=- James
If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
DeleteFXPFiles & CheckFavorites (Please rate this post!) -
I have a program that sends an email if a certain alarm condition arises. Currently, the email only contains a text message, but I'd like it also to include an xy plot of about 400 points. Trouble is, I don't know how to put that plot into an email. I know I could create an image in a file and attach that to the email, but I prefer not to do that. Is there some kind of html or something else that can go in an email that will display a plot given the set of xy points? I know that java classes on a web page can plot given the points, but can email clients like Outlook and Outlook Express run java applets? Any other thoughts? One thing someone suggested to me was to make a plot using ASCII codes. But my plot needs to be very precise for the points given, not some rough approximation, so I don't think that would work.