|
[Sponsors] |
September 1, 2015, 15:06 |
Exporting Chart to jpg or png format
|
#1 |
Member
beyonder
Join Date: May 2015
Posts: 67
Rep Power: 10 |
Hi,
Is there anyway to export charts in jpg or png format from CFD-Post. |
|
September 2, 2015, 03:26 |
|
#2 |
Senior Member
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 415
Rep Power: 12 |
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... Last edited by -Maxim-; September 2, 2015 at 03:31. Reason: vector graphix |
|
September 2, 2015, 03:47 |
|
#3 |
Member
beyonder
Join Date: May 2015
Posts: 67
Rep Power: 10 |
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? |
|
September 3, 2015, 09:56 |
|
#4 |
Senior Member
Edmund Singer P.E.
Join Date: Aug 2010
Location: Minneapolis, MN
Posts: 511
Rep Power: 20 |
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"); !} |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] exporting sample surface data in csv format | sihaqqi | ParaView | 3 | July 7, 2013 07:06 |
[ICEM] Exporting geometry as parasolid format | taram | ANSYS Meshing & Geometry | 0 | June 26, 2013 03:38 |
[Netgen] Error message when exporting to OpenFOAM 1.5 + format | almir | OpenFOAM Meshing & Mesh Conversion | 2 | May 25, 2011 05:30 |
Macro Issue Exporting Chart Data | recon9 | CFX | 1 | March 24, 2011 13:46 |
Exporting GAMBIT files in 'plot 3d' format | Jeff | FLUENT | 0 | November 22, 2001 20:52 |