Puffin icon indicating copy to clipboard operation
Puffin copied to clipboard

.vs plotting labels don't work in visit for curve plots

Open mightylorenzo opened this issue 9 years ago • 1 comments

When using Visit to visualize the data from Puffin, none of the line plots label the axes with the labels specified by Puffin.

Using pyTables to examine any of the integrated files, e.g. after opening one of them as 'h5file' and doing

h5file.root.power._v_attrs

it shows the contents as

/power._v_attrs (AttributeSet), 23 attributes:
   [iChic_cr := 1,
    iCsteps := 210,
    iDrift_cr := 1,
    iL := 1,
    iModulation_cr := 1,
    iQuad_cr := 1,
    iUnd_cr := 1,
    istep := 210,
    time := 0.87964596748352286,
    vsAxisLabels := 'z2, Power (Scaled)',
    vsCentering := 'nodal',
    vsIndexOrder := 'compMinorF',
    vsLabels := 'power',
    vsLimits := 'globalLimitsSI',
    vsMesh := 'intFieldMeshSc',
    vsTimeGroup := 'time',
    vsType := 'variable',
    zInter := 0.28000000000000075,
    zLocal := 0.28000000000000075,
    zTotal := 0.28000000000000075,
    zbarInter := 0.87964596748352286,
    zbarLocal := 0.87964596748352286,
    zbarTotal := 0.87964596748352286]

This shows the mesh to draw the line on as 'intFieldMeshSc'. Looking at this mesh in the file, so doing

h5file.root.intFieldMeshSc._v_attrs

we get

/intFieldMeshSc._v_attrs (AttributeSet), 9 attributes:
   [vsAxisLabels := 'z2,scaled parameter',
    vsCentering := 'nodal',
    vsIndexOrder := 'compMajorF',
    vsKind := 'uniform',
    vsLowerBounds := 0.0,
    vsNumCells := 1657,
    vsStartCell := 0,
    vsType := 'mesh',
    vsUpperBounds := 13.005309677124023]

which contains labels for the .vs mesh. However, the plot which is shown by Visit has labels "X-Axis" and "Y-Axis."

The above example is for the power plots, but this happens for ALL the integrated data. Furthermore, there seems to be no documentation for labelling plots using vizSchema online.

mightylorenzo avatar Dec 19 '16 16:12 mightylorenzo

Edited original comment

mightylorenzo avatar Jun 20 '17 09:06 mightylorenzo