Thread Subject: 2d surface plot in comsol with matlab

Subject: 2d surface plot in comsol with matlab

From: Claus Jeppesen

Date: 23 Nov, 2009 15:45:22

Message: 1 of 1

I have a 2d surface plot calculated in comsol. I am using the postplot command and I would like the to change the z-axis to logarithmic scale. By doing so the image dissapears both if I try to change it in the GUI or if I change "axistype" in the code from 'lin' to 'log'.

Below is the code I am using:

postplot(fem, ...
        'tridata',{'absux_poeq^2','cont','internal'}, ...
        'trimap','winter(1024)', ...
        'flowdata',{'ux','uy'}, ...
        'flowcolor',[1.0,0.0,0.0], ...
        'flowdens','velocity', ...
        'title','Surface: absux_poeq^2 Streamline: grad(u)', ...
        'axistype',{'lin','lin','log'}, ...
        'axis',[0.5,2.5,-2,2, 0.1, 1]);

Any ideas?

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
logarithm Claus Jeppesen 23 Nov, 2009 10:49:23
postplot Claus Jeppesen 23 Nov, 2009 10:49:23
comsol with matlab Claus Jeppesen 23 Nov, 2009 10:49:23
rssFeed for this Thread

Contact us at files@mathworks.com