RSS Forums RSS
Please support our Legacy and Other Languages advertiser: Programming Forums
Views: 4359 | Replies: 2
Reply
Join Date: Jul 2005
Posts: 1
Reputation: boofus is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
boofus boofus is offline Offline
Newbie Poster

Matlab help?

  #1  
Jul 13th, 2005
Hi all,
I'm an experienced programmer in C, C++, and Java, and I'm new to this site. I was wondering if this would be an appropriate place to post a Matlab question. Any Matlab gurus out there? I have a bunch of data files of 10,000 -dimensional vectors that I'm reading in and plotting automatically. Now I would like to write the images produced by the plot command to jgeg files (so I don't have to manually go to File->Save As for each figure), but I don't know how to do it. If there were some way I could pipe the ouput of the plot command into properly-formatted input for the imwrite command (i.e. an MxNx3 color-image array), I'd be set. Any ideas?

Thanks!
Josh
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2005
Location: France
Posts: 1,051
Reputation: bumsfeld is an unknown quantity at this point 
Rep Power: 6
Solved Threads: 46
bumsfeld's Avatar
bumsfeld bumsfeld is offline Offline
Veteran Poster

Solution Re: Matlab help?

  #2  
Aug 1st, 2005
Just a question, what is Matlab used for?
Reply With Quote  
Join Date: May 2006
Posts: 35
Reputation: b4codes is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 1
b4codes b4codes is offline Offline
Light Poster

Re: Matlab help?

  #3  
May 18th, 2006
I think you are confused with the matlab commands, "imwrite" function has no relation with the "plot" function. Imwrite writes the data [2D or 3D matrices] into the images, it does not handle the output from the plot function. If you want to save output of "plot' as a images [for many files] you need to run the internal save as command in the loop.

If you need more help on matlab functions, try kluid [ http://www.kluid.com ]

b4 : ]


Originally Posted by boofus
Hi all,
I'm an experienced programmer in C, C++, and Java, and I'm new to this site. I was wondering if this would be an appropriate place to post a Matlab question. Any Matlab gurus out there? I have a bunch of data files of 10,000 -dimensional vectors that I'm reading in and plotting automatically. Now I would like to write the images produced by the plot command to jgeg files (so I don't have to manually go to File->Save As for each figure), but I don't know how to do it. If there were some way I could pipe the ouput of the plot command into properly-formatted input for the imwrite command (i.e. an MxNx3 color-image array), I'd be set. Any ideas?

Thanks!
Josh
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 12:10 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC