Changeset 8472


Ignore:
Timestamp:
06/01/11 22:53:48 (14 years ago)
Author:
Eric.Larour
Message:

can now plot a planet shell

Location:
issm/trunk/src/m/model/plot
Files:
39 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/model/plot/plot_basaldrag.m

    r8454 r8472  
    3939
    4040        %process data and model
    41         [x y z elements is2d]=processmesh(md,[],options);
     41        [x y z elements is2d isplanet]=processmesh(md,[],options);
    4242        [basal_drag datatype]=processdata(md,drag,options);
    4343
    4444        %plot basaldrag
    4545        subplot(width,width,i);
    46         plot_unit(x,y,z,elements,basal_drag,is2d,datatype,options);
     46        plot_unit(x,y,z,elements,basal_drag,is2d,isplanet,datatype,options);
    4747
    4848        %apply options
  • issm/trunk/src/m/model/plot/plot_boundaries.m

    r4330 r8472  
    1313        options=removefield(options,'layer',1);
    1414end
    15 [x y z elements is2d]=processmesh(md,[],options);
     15[x y z elements is2d isplanet]=processmesh(md,[],options);
    1616
    1717for i=1:size(md.segments,1),
  • issm/trunk/src/m/model/plot/plot_contour.m

    r8298 r8472  
    88
    99%process data and model
    10 [x y z index is2d]=processmesh(md,[],options);
     10[x y z index is2d isplanet]=processmesh(md,[],options);
    1111[data datatype]=processdata(md,datain,options);
    1212
  • issm/trunk/src/m/model/plot/plot_drivingstress.m

    r4330 r8472  
    1111
    1212%process data and model
    13 [x y z elements is2d]=processmesh(md,[],options);
     13[x y z elements is2d isplanet]=processmesh(md,[],options);
    1414[dstress datatype]=processdata(md,s,options);
    1515dstress=dstress/1000;
     
    1717%plot mesh quivervel
    1818subplot(width,width,i);
    19 plot_unit(x,y,z,elements,dstress,is2d,datatype,options)
     19plot_unit(x,y,z,elements,dstress,is2d,isplanet,datatype,options)
    2020
    2121%apply options
  • issm/trunk/src/m/model/plot/plot_edges.m

    r5616 r8472  
    1111
    1212%process mesh and data
    13 [x y z elements is2d]=processmesh(md,[],options);
     13[x y z elements is2d isplanet]=processmesh(md,[],options);
    1414edges=md.edges;
    1515if isnan(edges)
  • issm/trunk/src/m/model/plot/plot_elementnumbering.m

    r5617 r8472  
    1010
    1111%process data and model
    12 [x y z elements is2d]=processmesh(md,[],options);
     12[x y z elements is2d isplanet]=processmesh(md,[],options);
    1313[elementnumbers datatype]=processdata(md,[1:md.numberofelements]',options);
    1414
  • issm/trunk/src/m/model/plot/plot_elementstype.m

    r8115 r8472  
    88
    99%process data and model
    10 [x y z elements is2d]=processmesh(md,[],options);
     10[x y z elements is2d isplanet]=processmesh(md,[],options);
    1111[data datatype]=processdata(md,md.elements_type,options);
    1212
  • issm/trunk/src/m/model/plot/plot_gridded.m

    r8001 r8472  
    88
    99%process mesh and data
    10 [x y z elements is2d]=processmesh(md,[],options);
     10[x y z elements is2d isplanet]=processmesh(md,[],options);
    1111[data datatype]=processdata(md,data,options);
    1212
  • issm/trunk/src/m/model/plot/plot_highlightelements.m

    r5617 r8472  
    1111
    1212%process data and model
    13 [x y z elements is2d]=processmesh(md,[],options);
     13[x y z elements is2d isplanet]=processmesh(md,[],options);
    1414[elementnumbers datatype]=processdata(md,[1:md.numberofelements]',options);
    1515
  • issm/trunk/src/m/model/plot/plot_highlightnodes.m

    r8299 r8472  
    88
    99%process data and model
    10 [x y z elements is2d]=processmesh(md,[],options);
     10[x y z elements is2d isplanet]=processmesh(md,[],options);
    1111[nodenumbers datatype]=processdata(md,[1:md.numberofnodes]',options);
    1212
  • issm/trunk/src/m/model/plot/plot_importancefactors.m

    r8298 r8472  
    6464
    6565%process data and model
    66 [x y z elements is2d]=processmesh(md,[],options);
     66[x y z elements is2d isplanet]=processmesh(md,[],options);
    6767
    6868%edgecolor
  • issm/trunk/src/m/model/plot/plot_manager.m

    r8298 r8472  
    166166
    167167%process data and model
    168 [x y z elements is2d]=processmesh(md,data,options);
     168[x y z elements is2d isplanet]=processmesh(md,data,options);
    169169[data2 datatype]=processdata(md,data,options);
    170170
     
    178178
    179179%plot unit
    180 plot_unit(x,y,z,elements,data2,is2d,datatype,options);
     180plot_unit(x,y,z,elements,data2,is2d,isplanet,datatype,options);
    181181       
    182182
  • issm/trunk/src/m/model/plot/plot_mesh.m

    r8114 r8472  
    88
    99%process data and model
    10 [x y z elements is2d]=processmesh(md,[],options);
     10[x y z elements is2d isplanet]=processmesh(md,[],options);
    1111
    1212%plot mesh
     
    2222        patch( 'Faces', [A B C], 'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor',edgecolor,'linewidth',linewidth);
    2323else
    24         A=elements(:,1); B=elements(:,2); C=elements(:,3); D=elements(:,4); E=elements(:,5); F=elements(:,6);
    25         patch( 'Faces', [A B C],  'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor',edgecolor,'linewidth',linewidth);
    26         patch( 'Faces', [D E F],  'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor',edgecolor,'linewidth',linewidth);
    27         patch( 'Faces', [A B E D],'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor',edgecolor,'linewidth',linewidth);
    28         patch( 'Faces', [B E F C],'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor',edgecolor,'linewidth',linewidth);
    29         patch( 'Faces', [C A D F],'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor',edgecolor,'linewidth',linewidth);
     24        if ~md.planet,
     25                A=elements(:,1); B=elements(:,2); C=elements(:,3); D=elements(:,4); E=elements(:,5); F=elements(:,6);
     26                patch( 'Faces', [A B C],  'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor',edgecolor,'linewidth',linewidth);
     27                patch( 'Faces', [D E F],  'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor',edgecolor,'linewidth',linewidth);
     28                patch( 'Faces', [A B E D],'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor',edgecolor,'linewidth',linewidth);
     29                patch( 'Faces', [B E F C],'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor',edgecolor,'linewidth',linewidth);
     30                patch( 'Faces', [C A D F],'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor',edgecolor,'linewidth',linewidth);
     31        else
     32                A=elements(:,1); B=elements(:,2); C=elements(:,3); D=elements(:,4);
     33                patch( 'Faces', [A B C D],  'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor',edgecolor,'linewidth',linewidth);
     34
     35        end
    3036end
    3137
  • issm/trunk/src/m/model/plot/plot_nodenumbering.m

    r8299 r8472  
    88
    99%process data and model
    10 [x y z elements is2d]=processmesh(md,[],options);
     10[x y z elements is2d isplanet]=processmesh(md,[],options);
    1111[nodenumbers datatype]=processdata(md,[1:md.numberofnodes]',options);
    1212
  • issm/trunk/src/m/model/plot/plot_overlay.m

    r8354 r8472  
    88
    99%process mesh and data
    10 [x y z elements is2d]=processmesh(md,[],options);
     10[x y z elements is2d isplanet]=processmesh(md,[],options);
    1111if strcmpi(data,'none'),
    1212        radaronly=1;
  • issm/trunk/src/m/model/plot/plot_parthist.m

    r7986 r8472  
    88
    99%process data and model
    10 [x y z elements is2d]=processmesh(md,[],options);
     10[x y z elements is2d isplanet]=processmesh(md,[],options);
    1111
    1212%plot mesh
  • issm/trunk/src/m/model/plot/plot_parthistn.m

    r8014 r8472  
    88
    99%process data and model
    10 [x y z elements is2d]=processmesh(md,[],options);
     10[x y z elements is2d isplanet]=processmesh(md,[],options);
    1111
    1212%plot mesh
  • issm/trunk/src/m/model/plot/plot_parthistw.m

    r8014 r8472  
    88
    99%process data and model
    10 [x y z elements is2d]=processmesh(md,[],options);
     10[x y z elements is2d isplanet]=processmesh(md,[],options);
    1111
    1212%plot mesh
  • issm/trunk/src/m/model/plot/plot_penalties.m

    r8298 r8472  
    88
    99%process data and model
    10 [x y z elements is2d]=processmesh(md,[],options);
     10[x y z elements is2d isplanet]=processmesh(md,[],options);
    1111
    1212%plot mesh penalties
  • issm/trunk/src/m/model/plot/plot_pressureload.m

    r7545 r8472  
    1111
    1212%process mesh and data
    13 [x y z elements is2d]=processmesh(md,[],options);
     13[x y z elements is2d isplanet]=processmesh(md,[],options);
    1414pressureload=md.pressureload;
    1515
  • issm/trunk/src/m/model/plot/plot_qmu_mass_flux_segments.m

    r4994 r8472  
    99
    1010%process mesh and data
    11 [x y z elements is2d]=processmesh(md,[],options);
     11[x y z elements is2d isplanet]=processmesh(md,[],options);
    1212
    1313allsegments=md.qmu_mass_flux_segments;
  • issm/trunk/src/m/model/plot/plot_qmumean.m

    r8298 r8472  
    1414
    1515%process data and model
    16 [x y z elements is2d]=processmesh(md,[],options);
     16[x y z elements is2d isplanet]=processmesh(md,[],options);
    1717
    1818%find response function
  • issm/trunk/src/m/model/plot/plot_qmustddev.m

    r8298 r8472  
    1414
    1515%process data and model
    16 [x y z elements is2d]=processmesh(md,[],options);
     16[x y z elements is2d isplanet]=processmesh(md,[],options);
    1717
    1818%find response function
  • issm/trunk/src/m/model/plot/plot_riftfraction.m

    r8298 r8472  
    1313
    1414%process data and model
    15 [x y z elements is2d]=processmesh(md,[],options);
     15[x y z elements is2d isplanet]=processmesh(md,[],options);
    1616
    1717subplot(nlines,ncols,index);
  • issm/trunk/src/m/model/plot/plot_riftnumbering.m

    r8298 r8472  
    88
    99%process data and model
    10 [x y z elements is2d]=processmesh(md,[],options);
     10[x y z elements is2d isplanet]=processmesh(md,[],options);
    1111fontsize=getfieldvalue(options,'FontSize',8);
    1212
  • issm/trunk/src/m/model/plot/plot_riftpenetration.m

    r7082 r8472  
    88
    99%process data and model
    10 [x y z elements is2d]=processmesh(md,[],options);
     10[x y z elements is2d isplanet]=processmesh(md,[],options);
    1111
    1212subplot(nlines,ncols,index);
  • issm/trunk/src/m/model/plot/plot_riftrelvel.m

    r8298 r8472  
    3030
    3131%process data and model
    32 [x y z elements is2d]=processmesh(md,[],options);
     32[x y z elements is2d isplanet]=processmesh(md,[],options);
    3333[vel datatype]=processdata(md,[u v],options);
    3434[quivers,palette]=quiver_process(x,y,vel(:,1),vel(:,2),options);
  • issm/trunk/src/m/model/plot/plot_rifts.m

    r4330 r8472  
    88
    99%process data and model
    10 [x y z elements is2d]=processmesh(md,[],options);
     10[x y z elements is2d isplanet]=processmesh(md,[],options);
    1111
    1212%plot mesh
  • issm/trunk/src/m/model/plot/plot_riftvel.m

    r8298 r8472  
    2626
    2727%process data and model
    28 [x y z elements is2d]=processmesh(md,[],options);
     28[x y z elements is2d isplanet]=processmesh(md,[],options);
    2929[vel datatype]=processdata(md,[u v],options);
    3030[quivers,palette]=quiver_process(x,y,vel(:,1),vel(:,2),options);
  • issm/trunk/src/m/model/plot/plot_section.m

    r7292 r8472  
    2121
    2222%process model
    23 [x_m y_m z_m elements_m is2d]=processmesh(md,[],options);
     23[x_m y_m z_m elements_m is2d isplanet]=processmesh(md,[],options);
    2424
    2525%Get number of curves and generate random colors
     
    8080                        %plot section only with labels
    8181                        subplot(nlines,ncols,index2)
    82                         plot_unit(x_m,y_m,z_m,elements_m,data(:,i),is2d,datatype,options)
     82                        plot_unit(x_m,y_m,z_m,elements_m,data(:,i),is2d,isplanet,datatype,options)
    8383                        hold on
    8484                        text(x(1),y(1),'1','backgroundcolor',[0.8 0.9 0.8])
  • issm/trunk/src/m/model/plot/plot_segments.m

    r5818 r8472  
    1111
    1212%process mesh and data
    13 [x y z elements is2d]=processmesh(md,[],options);
     13[x y z elements is2d isplanet]=processmesh(md,[],options);
    1414segments=md.segments;
    1515
  • issm/trunk/src/m/model/plot/plot_streamlines.m

    r4330 r8472  
    66
    77%process data and model
    8 [x y z index is2d]=processmesh(md,[],options);
     8[x y z index is2d isplanet]=processmesh(md,[],options);
    99[u datatype]=processdata(md,md.vx,options);
    1010[v datatype]=processdata(md,md.vy,options);
  • issm/trunk/src/m/model/plot/plot_tensor_components.m

    r4330 r8472  
    2424
    2525%process data and model
    26 [x y z elements is2d]=processmesh(md,[],options);
     26[x y z elements is2d isplanet]=processmesh(md,[],options);
    2727[tensor.xx datatype]=processdata(md,tensor.xx,options);
    2828[tensor.yy datatype]=processdata(md,tensor.yy,options);
     
    3636if ((md.dim==2)),
    3737        subplot(2*width,2*width,index1),
    38         plot_unit(x,y,z,elements,tensor.xx,is2d,datatype,options)
     38        plot_unit(x,y,z,elements,tensor.xx,is2d,isplanet,datatype,options)
    3939        Apply_options_tensor(md,options,type,'xx')
    4040        subplot(2*width,2*width,index2),
    41         plot_unit(x,y,z,elements,tensor.yy,is2d,datatype,options)
     41        plot_unit(x,y,z,elements,tensor.yy,is2d,isplanet,datatype,options)
    4242        Apply_options_tensor(md,options,type,'yy')
    4343        subplot(2*width,2*width,index3),
    44         plot_unit(x,y,z,elements,tensor.xy,is2d,datatype,options)
     44        plot_unit(x,y,z,elements,tensor.xy,is2d,isplanet,datatype,options)
    4545        Apply_options_tensor(md,options,type,'xy')
    4646else
    4747        subplot(3*width,3*width,index1),
    48         plot_unit(x,y,z,elements,tensor.xx,is2d,datatype,options)
     48        plot_unit(x,y,z,elements,tensor.xx,is2d,isplanet,datatype,options)
    4949        Apply_options_tensor(md,options,type,'xx')
    5050        subplot(3*width,3*width,index2),
    51         plot_unit(x,y,z,elements,tensor.yy,is2d,datatype,options)
     51        plot_unit(x,y,z,elements,tensor.yy,is2d,isplanet,datatype,options)
    5252        Apply_options_tensor(md,options,type,'yy')
    5353        subplot(3*width,3*width,index3),
    54         plot_unit(x,y,z,elements,tensor.zz,is2d,datatype,options)
     54        plot_unit(x,y,z,elements,tensor.zz,is2d,isplanet,datatype,options)
    5555        Apply_options_tensor(md,options,type,'zz')
    5656        subplot(3*width,3*width,index4),
    57         plot_unit(x,y,z,elements,tensor.xy,is2d,datatype,options)
     57        plot_unit(x,y,z,elements,tensor.xy,is2d,isplanet,datatype,options)
    5858        Apply_options_tensor(md,options,type,'xy')
    5959        subplot(3*width,3*width,index5),
    60         plot_unit(x,y,z,elements,tensor.xz,is2d,datatype,options)
     60        plot_unit(x,y,z,elements,tensor.xz,is2d,isplanet,datatype,options)
    6161        Apply_options_tensor(md,options,type,'xz')
    6262        subplot(3*width,3*width,index6),
    63         plot_unit(x,y,z,elements,tensor.yz,is2d,datatype,options)
     63        plot_unit(x,y,z,elements,tensor.yz,is2d,isplanet,datatype,options)
    6464        Apply_options_tensor(md,options,type,'yz')
    6565end
  • issm/trunk/src/m/model/plot/plot_tensor_principal.m

    r4330 r8472  
    3737
    3838%now plot principal values
    39 [x y z elements is2d]=processmesh(md,[],options);
     39[x y z elements is2d isplanet]=processmesh(md,[],options);
    4040[tensor.principalvalue1 datatype]=processdata(md,tensor.principalvalue1,options);
    4141[tensor.principalvalue2 datatype]=processdata(md,tensor.principalvalue2,options);
     
    4646if ((md.dim==2)),
    4747        subplot(2*width,2*width,index3)
    48         plot_unit(x,y,z,elements,tensor.principalvalue1,is2d,datatype,options)
     48        plot_unit(x,y,z,elements,tensor.principalvalue1,is2d,isplanet,datatype,options)
    4949        Apply_options_tensor(md,options,type,'principal value 1')
    5050        subplot(2*width,2*width,index4)
    51         plot_unit(x,y,z,elements,tensor.principalvalue2,is2d,datatype,options)
     51        plot_unit(x,y,z,elements,tensor.principalvalue2,is2d,isplanet,datatype,options)
    5252        Apply_options_tensor(md,options,type,'principal value 2')
    5353else
    5454        subplot(3*width,3*width,index4)
    55         plot_unit(x,y,z,elements,tensor.principalvalue1,is2d,datatype,options)
     55        plot_unit(x,y,z,elements,tensor.principalvalue1,is2d,isplanet,datatype,options)
    5656        Apply_options_tensor(md,options,type,'principal value 1')
    5757        subplot(3*width,3*width,index5)
    58         plot_unit(x,y,z,elements,tensor.principalvalue2,is2d,datatype,options)
     58        plot_unit(x,y,z,elements,tensor.principalvalue2,is2d,isplanet,datatype,options)
    5959        Apply_options_tensor(md,options,type,'principal value 2')
    6060        subplot(3*width,3*width,index6)
    61         plot_unit(x,y,z,elements,tensor.principalvalue3,is2d,datatype,options)
     61        plot_unit(x,y,z,elements,tensor.principalvalue3,is2d,isplanet,datatype,options)
    6262        Apply_options_tensor(md,options,type,'principal value 3')
    6363end
  • issm/trunk/src/m/model/plot/plot_tensor_principalaxis.m

    r8298 r8472  
    1111
    1212%process data and model
    13 [x y z elements is2d]=processmesh(md,[],options);
     13[x y z elements is2d isplanet]=processmesh(md,[],options);
    1414
    1515if ((md.dim==2)),
  • issm/trunk/src/m/model/plot/plot_transient_field.m

    r8430 r8472  
    2727
    2828%process mes only once
    29 [x y z elements is2d]=processmesh(md,[],options);
     29[x y z elements is2d isplanet]=processmesh(md,[],options);
    3030
    3131%plot data for all steps
     
    3838        %create plot of step i
    3939        subplot(subplotwidth,subplotwidth,i);
    40         plot_unit(x,y,z,elements,data,is2d,datatype,options)
     40        plot_unit(x,y,z,elements,data,is2d,isplanet,datatype,options)
    4141        applyoptions(md,data,options);
    4242
  • issm/trunk/src/m/model/plot/plot_transient_movie.m

    r8430 r8472  
    2121
    2222                %process data
    23                 [x y z elements is2d]=processmesh(md,results(i).(field),options);
     23                [x y z elements is2d isplanet]=processmesh(md,results(i).(field),options);
    2424                [data datatype]=processdata(md,results(i).(field),options);
    2525
    2626                titlestring=[field ' at time ' num2str(results(i).time/md.yts) ' year'];
    27                 plot_unit(x,y,z,elements,data,is2d,datatype,options)
     27                plot_unit(x,y,z,elements,data,is2d,isplanet,datatype,options)
    2828                apply_options_movie(md,options,titlestring);
    2929               
  • issm/trunk/src/m/model/plot/plot_unit.m

    r8128 r8472  
    1 function plot_unit(x,y,z,elements,data,is2d,datatype,options)
     1function plot_unit(x,y,z,elements,data,is2d,isplanet,datatype,options)
    22%PLOT_UNIT - unit plot, display data
    33%
    44%   Usage:
    5 %      plot_unit(x,y,z,elements,data,is2d,datatype,options);
     5%      plot_unit(x,y,z,elements,data,is2d,isplanet,datatype,options);
    66%
    77%   See also: PLOTMODEL, PLOT_MANAGER
     
    3434                        patch( 'Faces', [A B C], 'Vertices', [x y z],'FaceVertexCData', data(:),'FaceColor','interp','EdgeColor',edgecolor);
    3535                else
    36                         A=elements(:,1); B=elements(:,2); C=elements(:,3); D=elements(:,4); E=elements(:,5); F=elements(:,6);
    37                         patch( 'Faces', [A B C],  'Vertices', [x y z],'FaceVertexCData', data(:),'FaceColor','interp','EdgeColor',edgecolor);
    38                         patch( 'Faces', [D E F],  'Vertices', [x y z],'FaceVertexCData', data(:),'FaceColor','interp','EdgeColor',edgecolor);
    39                         patch( 'Faces', [A B E D],'Vertices', [x y z],'FaceVertexCData', data(:),'FaceColor','interp','EdgeColor',edgecolor);
    40                         patch( 'Faces', [B E F C],'Vertices', [x y z],'FaceVertexCData', data(:),'FaceColor','interp','EdgeColor',edgecolor);
    41                         patch( 'Faces', [C A D F],'Vertices', [x y z],'FaceVertexCData', data(:),'FaceColor','interp','EdgeColor',edgecolor);
     36                        if ~isplanet,
     37                                A=elements(:,1); B=elements(:,2); C=elements(:,3); D=elements(:,4); E=elements(:,5); F=elements(:,6);
     38                                patch( 'Faces', [A B C],  'Vertices', [x y z],'FaceVertexCData', data(:),'FaceColor','interp','EdgeColor',edgecolor);
     39                                patch( 'Faces', [D E F],  'Vertices', [x y z],'FaceVertexCData', data(:),'FaceColor','interp','EdgeColor',edgecolor);
     40                                patch( 'Faces', [A B E D],'Vertices', [x y z],'FaceVertexCData', data(:),'FaceColor','interp','EdgeColor',edgecolor);
     41                                patch( 'Faces', [B E F C],'Vertices', [x y z],'FaceVertexCData', data(:),'FaceColor','interp','EdgeColor',edgecolor);
     42                                patch( 'Faces', [C A D F],'Vertices', [x y z],'FaceVertexCData', data(:),'FaceColor','interp','EdgeColor',edgecolor);
     43                        else
     44                                A=elements(:,1); B=elements(:,2); C=elements(:,3); D=elements(:,4);
     45                                patch( 'Faces', [A B C D],  'Vertices', [x y z],'FaceVertexCData', data(:),'FaceColor','interp','EdgeColor',edgecolor);
     46                        end
    4247                end
    4348
  • issm/trunk/src/m/model/plot/processmesh.m

    r8298 r8472  
    1 function [x y z elements is2d]=processmesh(md,data,options);
     1function [x y z elements is2d isplanet]=processmesh(md,data,options);
    22%PROCESSMESH - process mesh to be plotted
    33%
     
    9191        z=z*unit;
    9292end
     93
     94if md.planet,
     95        isplanet=1;
     96else
     97        isplanet=0;
     98end
Note: See TracChangeset for help on using the changeset viewer.