Pre loader

want Z axis is up not Y axis, second contour problem

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

1
0

enter image description here

we want z axis up but when we draw Y axis come up hot to solve this

        short[] shortArrayz;
        int lengthz;
        short[,] shortArray = new short[100, 15];
        using (BinaryReader b = new BinaryReader(
                    File.Open("F971-181223-10.MNZ", FileMode.Open)))
        {
            // 2.
            // Position and length variables.
            int pos = 0;
            // 2A.
            // Use BaseStream.

            //    pos += sizeof(int);
            //  pos += sizeof(int);
            lengthz = (int)b.BaseStream.Length;
            shortArrayz = new short[lengthz];


            //    Console.WriteLine(length);
            while (pos < lengthz)
            {
                // 3.
                // Read integer.

                /*

                for (int i = 0; i < 100; i++)
                {
                    for (int j = 0; j < 15; j++)
                    {

                        shortArray[i, j] = b.ReadInt16();
                        Console.WriteLine(shortArray[i, j]);
                    }
                }
                */

                shortArrayz[pos] = b.ReadInt16();


                // 4.
                // Advance our position variable.
                pos += sizeof(short);
            }
        }


        //100x15 lik dosya için        
        int xSize = 15;
        int ySize = 100;


        var meshDataSeries = new UniformGridDataSeries3D<double>(xSize, ySize)
        {
            SeriesName = "Uniform Surface Mesh",
        };




        int h = 0;

        for (int x = 0; x <xSize; x++)
            for (int y = 0; y < ySize; y++)
        {             
            {
                double z =(double) shortArrayz[h];
            meshDataSeries[y, x] = z;

                h += sizeof(short);               
            }
        }


        // Assign the DataSeries to the char
        surfaceMeshRenderableSeries.DataSeries =meshDataSeries;

2) In contour graph values is coorect but seems like it is sliced how to solve this?

Codes are attached

  • You must to post comments
0
0

Hi there

It is possible to switch between Left Handed and Right Handed coordinates by following these steps here

However, in SciChart3D, in both cases, the Y Axis is always UP.

You can hide the XYZ indicator if you want by setting the property SciChart3DSurface.IsXyzGizmoVisible = false.

Then set YAxis.AxisTitle = “Z Axis” and it will appear to the user as a z-axis.

Best regards,
Andrew

  • You must to post comments
0
0

Hello,

I’m glad to inform you that we’ve introduced an option to set up 3D Charts to have Z-Axis pointing upwards in SciChart v7.0.1.
Please take a look at the “3D Viewport Orientation Modes” section of the following documentation article:
https://www.scichart.com/documentation/win/current/webframe.html#Coordinates%20in%203D%20Space.html

Please try this out and let us know your feedback.

With best regards,
Lex
SciChart Technical Support Engineer

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies