Skip to content

jScope log y works but log x doesn't seem to work #3034

@nelson-zapenergy

Description

@nelson-zapenergy

Affiliation
Zap Energy

Question
I have a TDI-callable Python script called rfft.py that takes an MDSplus Signal Node from the Tree that is open, calls the SciPy rfft (fft of a real array, returns only positive frequencies), and returns an MDSplus Signal with the frequency as its dimension.

It works fine if I select "Log scale" for the Y axis, but if choose "Log scale" for the X axis (with or without "Log scale" selected for the Y axis) there are no data plotted. If I autoscale, I can drag the Point selection through the panel and the crosshairs seem to track where the Signal should be, as if it was plotted but with the same color as the background. I used rfft(\signame)[100e3 : 3e8] to assure there was not a zero value in the X axis, but I still get the same result, as if the Signal was plotted in a white color.

Any ideas?

Thanks,
Brian Nelson

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions