Exporting Chart to jpg or png format
Hi,
Is there anyway to export charts in jpg or png format from CFD-Post. |
Outline (left sidebar) - Report - right click and select 'publish'
check 'save images in separate folder' in 'more options', you can set the quality of the PNGs/JPGs. speaking of... does anyone know an easier way? Is there a way to export the charts as *.svg or some other vector graphic image? I guess it's better to export the csv and use the raw data directly in LaTeX for publishing... |
Thanks for the reply.
Actually I want to generate charts for large no. of timesteps. So according to solution provided by you, when i generate for other timestep, it overwrites on previous one. Do you any other way of doing it for multiple timesteps? |
Untested, but should give your the idea:
!$timestepList = getValue("DATA READER", "Timestep List"); !@timesteps = split(/, /, $timestepList ); ! foreach $ts ( @timesteps ) { !$b=$b+1; > load timestep=$ts ADD IN YOUR SESSION FILE RECORDING OF YOUR CHART GENERATION HERE >chart print, Chart Name = Chart 1, filename = <YOURPATH>/Chart.png, x size = 800, y size = 800, format = png, factor = 0.813406 !rename("<YOURPATH>/Chart.png","<YOURPATH>/$b.png"); !} |
All times are GMT -4. The time now is 12:26. |