TransWikia.com
  1. All Categories
  2. Mathematica

Mathematica : Recent Questions and Answers (Page 125)

Find answers to your questions about Mathematica or help others by answering their Mathematica questions.

Combine two plots with reversed y-axis

I need to display two y-values for a list of points. I tried doing this:data=Import["https://pastebin.com/raw/cJtpDmcm","Table"];p1=ListPlot[data[[All,1;;2]],PlotRange->{{6,10},{3,7}},ImageSize->500,PlotTheme->"Monochrome",BaseStyle->Directive["TR",FontSize->16,Black],Frame->{{True,False},{True,True}},FrameTicks -> {{All, None}, {All,None}},ImagePadding ->{{60, 60}, {60,10}}];p2=ListPlot[data[[All,3;;4]],PlotRange->{{6,10},{100,300}},PlotTheme->"Monochrome",ImageSize->500,BaseStyle->Directive["TR",FontSize->16,Black],Frame->{{False,True},{False,False}},FrameTicks -> {{None, All}, {None, None}},ImagePadding ->{{60, 60},...

Asked on 04/09/2021

3 answer

How to find maxima of a numerical calculation

Suppose I have the following code:ClearAll["Global`*"]q := 1.6*10^-19; (* Electron charge in Coulomb *)me := 9.1*10^-31; (* Free electron rest mass in kg *)h := 6.63*10^-34; (* Reduced...

Asked on 04/09/2021

3 answer

Fast way to count distinct pairs of integers

I have a association list, S, whose size is about 5*10^4. I also have a function F which takes in ordered pairs of elements from S, and spits out...

Asked on 04/08/2021

1 answer

How to plot frequency polygon?

I have data sample. Built and plotted histogram based on the sample. How can I plot frequency polygon now? That's example of the desired...

Asked on 04/08/2021 by instajke

4 answer

DSolve does not return solution to simple system of second order PDEs

I'm trying to solve a simple system of second order PDEs with Mathematica 11.1.Here is the system:DSolve[{ D[f[x, y, z], x, y] == 0, D[f[x, y,...

Asked on 04/08/2021

2 answer

How to force DistributionChart to plot empty datasets?

Is there any way to force DistributionChart to display anything where there is an empty dataset? In the below example I'd like to have 0-s appearing where data is missing,...

Asked on 04/08/2021

2 answer

Different results with or without Assumptions in Integrate for an elliptic integral

Here are 2 examples I have examined. 1. Assumptions in Integrate.Integrate[ Sqrt[1 + (b^2 x^2)/(a^4 - a^2 x^2)], {x, 0, a}, ...

Asked on 04/07/2021

2 answer

What's the best way of setting global defaults for my Plots?

Obviously there are many ways to change the global settings, such as $PlotTheme or SetOptions[], but what I'm looking for is a way to streamline the process of setting the...

Asked on 04/07/2021 by Maxim Hanselowski

1 answer

Possible bug in InverseZTransform

Tryx1n=InverseZTransform[1/(1-(1/z))//Factor,z,n]x2n=InverseZTransform[1/(1-(1/z)),z,n]DiscretePlot[x1n,{n,-10,10}]DiscretePlot[x2n, {n,-10,10}]The result is not what one would attend...

Asked on 04/07/2021 by Napoleone Bavaresco

0 answer

How to measure the slit size from given image using mathematica?

I want to measure the size of the optical slit from the microscope image. Here is the image: The dimension of image data...

Asked on 04/07/2021 by Taeshin Kim

2 answer

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP