plvachon
Mechanical
- Jun 16, 2005
- 38
Hi all,
Has anyone experienced problems plotting graphs with Ansys V12 (APDL)? I am creating a short table (2 col, 4 rows) and want to plot one column as function of the other. The following code works fine with V11, but with V12 only the name of the table and the title of my graph are appearing. The rest of the window remains black. Any idea? I looked in the HELP for a note regarding graphs plotting in V12, but everything seems to be the same as in V11. Thanks in advance...
-----------------
/CLEAR
FINISH
/REP
*DIM,hello,TABLE,4,2
*DO,i,1,4
hello(i,1) = i
hello(i,2) = i*10
*ENDDO
/GTYPE,1,GRPH,1
/GCMD,1,*VPLOT,hello(1,1),hello(1,2)
/AXLAB,X,Displacement (mm) ! Title X-axis
/AXLAB,Y,Force (N) ! Title Y-axis
/GCOLUMN,1,'Force-displacement' ! Name of curve 1
GPLOT
-----------------
Has anyone experienced problems plotting graphs with Ansys V12 (APDL)? I am creating a short table (2 col, 4 rows) and want to plot one column as function of the other. The following code works fine with V11, but with V12 only the name of the table and the title of my graph are appearing. The rest of the window remains black. Any idea? I looked in the HELP for a note regarding graphs plotting in V12, but everything seems to be the same as in V11. Thanks in advance...
-----------------
/CLEAR
FINISH
/REP
*DIM,hello,TABLE,4,2
*DO,i,1,4
hello(i,1) = i
hello(i,2) = i*10
*ENDDO
/GTYPE,1,GRPH,1
/GCMD,1,*VPLOT,hello(1,1),hello(1,2)
/AXLAB,X,Displacement (mm) ! Title X-axis
/AXLAB,Y,Force (N) ! Title Y-axis
/GCOLUMN,1,'Force-displacement' ! Name of curve 1
GPLOT
-----------------