/FiniteElasticity/CuboidGeneric/expected_results/convergence/convplot.m

http://github.com/xyan075/examples · Objective C · 10 lines · 9 code · 1 blank · 0 comment · 0 complexity · 275afb208ecbf16966421eefb251449f MD5 · raw file

  1. %%
  2. a=[384 5.47E-008 5.45E-008 7.11E-006 7.11E-006
  3. 1272 1.53E-008 1.37E-008 4.00E-007 4.00E-007
  4. 8176 2.79E-007 2.79E-007 2.56E-008 2.55E-008
  5. 58080 0.49636E-09 0.14520E-09 0.16946E-08 0.17042E-08];
  6. loglog(a(:,1),a(:,4),'.-',a(:,1),a(:,5),'x-');
  7. xlabel('Degrees of freedom');
  8. ylabel('Integrated^2 Error');
  9. legend('x variable','y variable');