Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem when plotting graph in V12

Status
Not open for further replies.

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
-----------------
 
Replies continue below

Recommended for you

Starting at *DIM, I tried the commands in both 12.0 and 12.1 and the plots were OK. I'm running on a PC -- maybe your problem is platform-dependent?

 
Kan, you are right: it works on another PC... I am going to investigate. Thank you for your input!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor