« first day (1065 days earlier)      last day (3416 days later) » 

1:21 AM
0
Q: Developing a Tag browser

alancalvittiAre the complete set of Tags and links to corresponding questions publicly available? If so, does anyone have experience mining them? Browsing vs Searching. Browsing could be improved by graphical ZUI (Zoomable User Interface) similar to Google Maps or Prezi (Flash based). Zoom in to the rank...

 
1:48 AM
Plot[Sin[x], {x, 0, 2 Pi},
Epilog -> Inset[Plot[Tan[x], {x, -3, 3}], {0, 0}, {0, 0}],
AspectRatio -> Automatic] How to make the ticks of both plots in coincidence?
 
2:09 AM
@novice Why don't you combine two plots using Show?
Show[Plot[Sin[x], {x, 0, 2 Pi}],
 Plot[Tan[x], {x, -3, 3}], AspectRatio -> Automatic,
 PlotRange -> {{-3, 2 Pi}, {-2, 2}}]
 
2:27 AM
@halirutan, Thanks! 'Show' works.( I thought Inset can do the same work by setting the coordinates.)
 
@novice When you just want to combine normal graphics, I wouldn't use Inset in the first place. When you want images inside graphics, then it is the tool of choice.
 
2:41 AM
The car navigation project I'm currently working. The velocity plot is combined using Inset, the trajectories are combined using Show. Because I want rescale velocity plot, I cann't use Show.
 
@novice But why don't you use ticks at all then in the Epilog plot?
If the plot doesn't have axes, then you don't need to care about whether they are aligned.
Plot[Sin[x], {x, 0, 2 Pi},
 Epilog ->
  Inset[Plot[Tan[x], {x, -3, 3}, Ticks -> False], {0, 0}, {0, 0}],
 AspectRatio -> Automatic]
 
3:00 AM
Actually, I want the coordinate values of the functions to be coincident. The ticks will be covered.
 
@novice The problem is that after you use Inset, the inserted graphics is an image. Try the code you posted first and rescale the plot with the mouse. You'll see that the size of the inserted image does not change.
@novice So what I would do is to combine all plots that need to be in the same coordinate system into one graphics.
@novice Now, your Velocity plot is in the upper left corner and the y-values are not the same as in the bigger plot. Where do you want to have the velocity plot?
 
I see. Show is used to combine graphics and they scale all together.
 
3:15 AM
@novice Basically, what Show does is not complicated:
If you plot something then you get a Graphics[primitives, options] expression which is displayed in the frontend as, well, graphics.
You can simply combine them yourself. The only difficulty is that you have to decide which options (e.g. PlotRange) you want from which graphics.
So for instance
gr1 = Plot[Sin[x], {x, 0, 2 Pi}];
gr2 = Plot[Tan[x], {x, -3, 3}];
Graphics[{First[gr1], First[gr2]}, Sequence @@ Rest[gr1]]
 
Aha, I know what's behind it.
 
 
12 hours later…
3:03 PM
Funny comment regarding Mathematica and other languages, which is your weapon of choice? bjorn.tipling.com/if-programming-languages-were-weapons
 
 
2 hours later…
4:34 PM
posted on December 18, 2014 by Wolfram Blog Team

Just in time for the holidays—Wolfram|Alpha apps for Windows and Windows Phone have been released! We’re excited to announce that our popular Wolfram|Alpha app and several Wolfram Course Assistant Apps are now available for your Windows 8.1 devices. The Wolfram|Alpha applications are universal apps, and utilize Windows’ distinct style while bringing to Windows users some [...]

 

« first day (1065 days earlier)      last day (3416 days later) »