Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mightylorenzo opened this issue Dec 19, 2016 · 1 comment
Open

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

mightylorenzo opened this issue Dec 19, 2016 · 1 comment
Labels

Comments

@mightylorenzo
Copy link
Collaborator

mightylorenzo commented Dec 19, 2016

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
Copy link
Collaborator Author

Edited original comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant